diff --git a/applications/proberapp/pom.xml b/applications/proberapp/pom.xml index 57255f01..4bce3d7d 100644 --- a/applications/proberapp/pom.xml +++ b/applications/proberapp/pom.xml @@ -243,7 +243,7 @@ com.google.cloud.tools appengine-maven-plugin - 2.4.1 + 2.4.4 ludo-in-in liveruntimejava8maven @@ -253,7 +253,7 @@ maven-compiler-plugin - 3.10.1 + 3.11.0 8 @@ -261,7 +261,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.1.0 + 3.4.0 enforce-maven diff --git a/applications/springboot/pom.xml b/applications/springboot/pom.xml index d35ad917..fa6d48b4 100644 --- a/applications/springboot/pom.xml +++ b/applications/springboot/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos springboot - 0.0.1-SNAPSHOT + + com.google.appengine + applications + 2.0.21-SNAPSHOT + war AppEngine :: springboot @@ -31,7 +35,7 @@ UTF-8 true UTF-8 - 2.7.2 + 2.7.15 1.8 1.8 @@ -40,7 +44,6 @@ org.springframework.boot spring-boot-starter-web - ${spring.boot.version} @@ -54,7 +57,6 @@ org.slf4j jul-to-slf4j - 1.7.30 provided @@ -62,20 +64,17 @@ javax.servlet javax.servlet-api - 3.1.0 provided org.springframework.boot spring-boot-starter-test - ${spring.boot.version} test junit junit - 4.13.2 test @@ -103,7 +102,7 @@ com.google.cloud.tools appengine-maven-plugin - 2.4.3 + 2.4.4 ludo-in-in @@ -114,7 +113,7 @@ maven-war-plugin - 3.3.1 + 3.4.0 false diff --git a/e2etests/stagingtests/src/test/java/com/google/appengine/tools/admin/ApplicationTest.java b/e2etests/stagingtests/src/test/java/com/google/appengine/tools/admin/ApplicationTest.java index c6306a50..5fdd5e76 100644 --- a/e2etests/stagingtests/src/test/java/com/google/appengine/tools/admin/ApplicationTest.java +++ b/e2etests/stagingtests/src/test/java/com/google/appengine/tools/admin/ApplicationTest.java @@ -177,7 +177,7 @@ private static String getWarPath(String directoryName) { + directoryName + "/target/" + directoryName - + "-0.0.1-SNAPSHOT") + + "-2.0.21-SNAPSHOT") .getAbsolutePath(); // assertThat(appRoot.isDirectory()).isTrue(); diff --git a/e2etests/stagingtests/src/test/java/com/google/appengine/tools/development/DevAppServerTestBase.java b/e2etests/stagingtests/src/test/java/com/google/appengine/tools/development/DevAppServerTestBase.java index c24e3a61..8d4c9098 100644 --- a/e2etests/stagingtests/src/test/java/com/google/appengine/tools/development/DevAppServerTestBase.java +++ b/e2etests/stagingtests/src/test/java/com/google/appengine/tools/development/DevAppServerTestBase.java @@ -56,7 +56,7 @@ static File createApp(String directoryName) { File appRoot = new File( currentDirectory, - "../testlocalapps/" + directoryName + "/target/" + directoryName + "-0.0.1-SNAPSHOT"); + "../testlocalapps/" + directoryName + "/target/" + directoryName + "-2.0.21-SNAPSHOT"); return appRoot; } diff --git a/e2etests/testlocalapps/allinone/pom.xml b/e2etests/testlocalapps/allinone/pom.xml index 77d4917b..42f5c704 100644 --- a/e2etests/testlocalapps/allinone/pom.xml +++ b/e2etests/testlocalapps/allinone/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos allinone - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: allinone test application @@ -39,18 +43,15 @@ javax.servlet javax.servlet-api - 3.1.0 provided com.google.appengine appengine-api-1.0-sdk - 2.0.19 com.google.guava guava - 32.1.2-jre jar @@ -71,7 +72,7 @@ maven-war-plugin - 3.3.1 + 3.4.0 false diff --git a/e2etests/testlocalapps/badcron/pom.xml b/e2etests/testlocalapps/badcron/pom.xml index 39c877ad..8a2a735e 100644 --- a/e2etests/testlocalapps/badcron/pom.xml +++ b/e2etests/testlocalapps/badcron/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos badcron - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: badcron @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/bundle_standard/pom.xml b/e2etests/testlocalapps/bundle_standard/pom.xml index 1563c0c8..91a1af53 100644 --- a/e2etests/testlocalapps/bundle_standard/pom.xml +++ b/e2etests/testlocalapps/bundle_standard/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos bundle_standard - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: bundle_standard @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/bundle_standard_with_container_initializer/pom.xml b/e2etests/testlocalapps/bundle_standard_with_container_initializer/pom.xml index a48e36e9..5f44e4c5 100644 --- a/e2etests/testlocalapps/bundle_standard_with_container_initializer/pom.xml +++ b/e2etests/testlocalapps/bundle_standard_with_container_initializer/pom.xml @@ -22,7 +22,11 @@ com.google.appengine.demos bundle_standard_with_container_initializer - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: bundle_standard_with_container_initializer @@ -69,13 +73,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/bundle_standard_with_no_jsp/pom.xml b/e2etests/testlocalapps/bundle_standard_with_no_jsp/pom.xml index 38299e0c..622f727c 100644 --- a/e2etests/testlocalapps/bundle_standard_with_no_jsp/pom.xml +++ b/e2etests/testlocalapps/bundle_standard_with_no_jsp/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos bundle_standard_with_no_jsp - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: bundle_standard_with_no_jsp @@ -30,7 +34,6 @@ UTF-8 true UTF-8 - 2.7.2 1.8 1.8 @@ -59,13 +62,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/bundle_standard_with_weblistener_memcache/pom.xml b/e2etests/testlocalapps/bundle_standard_with_weblistener_memcache/pom.xml index 412feb0e..5151455a 100644 --- a/e2etests/testlocalapps/bundle_standard_with_weblistener_memcache/pom.xml +++ b/e2etests/testlocalapps/bundle_standard_with_weblistener_memcache/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos bundle_standard_with_weblistener_memcache - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: bundle_standard_with_weblistener_memcache @@ -30,7 +34,6 @@ UTF-8 true UTF-8 - 2.7.2 1.8 1.8 @@ -64,13 +67,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/cron-bad-job-age-limit/pom.xml b/e2etests/testlocalapps/cron-bad-job-age-limit/pom.xml index 467b45ee..129f4d59 100644 --- a/e2etests/testlocalapps/cron-bad-job-age-limit/pom.xml +++ b/e2etests/testlocalapps/cron-bad-job-age-limit/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos cron-bad-job-age-limit - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: cron-bad-job-age-limit @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/cron-good-retry-parameters/pom.xml b/e2etests/testlocalapps/cron-good-retry-parameters/pom.xml index 8e9d7c79..2213ccd4 100644 --- a/e2etests/testlocalapps/cron-good-retry-parameters/pom.xml +++ b/e2etests/testlocalapps/cron-good-retry-parameters/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos cron-good-retry-parameters - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: cron-good-retry-parameters @@ -58,13 +62,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/cron-negative-max-backoff/pom.xml b/e2etests/testlocalapps/cron-negative-max-backoff/pom.xml index 1056d48a..423dd536 100644 --- a/e2etests/testlocalapps/cron-negative-max-backoff/pom.xml +++ b/e2etests/testlocalapps/cron-negative-max-backoff/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos cron-negative-max-backoff - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: cron-negative-max-backoff @@ -58,13 +62,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/cron-negative-retry-limit/pom.xml b/e2etests/testlocalapps/cron-negative-retry-limit/pom.xml index 66b828c1..4ce62cc4 100644 --- a/e2etests/testlocalapps/cron-negative-retry-limit/pom.xml +++ b/e2etests/testlocalapps/cron-negative-retry-limit/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos cron-negative-retry-limit - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: cron-negative-retry-limit @@ -58,13 +62,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/cron-two-max-doublings/pom.xml b/e2etests/testlocalapps/cron-two-max-doublings/pom.xml index 6157f4d4..462784ab 100644 --- a/e2etests/testlocalapps/cron-two-max-doublings/pom.xml +++ b/e2etests/testlocalapps/cron-two-max-doublings/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos cron-two-max-doublings - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: cron-two-max-doublings @@ -58,13 +62,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/http-headers/pom.xml b/e2etests/testlocalapps/http-headers/pom.xml index d7a54f21..c362eadb 100644 --- a/e2etests/testlocalapps/http-headers/pom.xml +++ b/e2etests/testlocalapps/http-headers/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos http-headers - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: http-headers @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/java8-jar/pom.xml b/e2etests/testlocalapps/java8-jar/pom.xml index b71bbfa7..8569a333 100644 --- a/e2etests/testlocalapps/java8-jar/pom.xml +++ b/e2etests/testlocalapps/java8-jar/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos java8-jar - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: java8-jar @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/java8-no-webxml/pom.xml b/e2etests/testlocalapps/java8-no-webxml/pom.xml index 0948a3d3..d2f0dc21 100644 --- a/e2etests/testlocalapps/java8-no-webxml/pom.xml +++ b/e2etests/testlocalapps/java8-no-webxml/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos java8-no-webxml - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: java8-no-webxml @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/pom.xml b/e2etests/testlocalapps/pom.xml index 34b873c2..a23b59ce 100644 --- a/e2etests/testlocalapps/pom.xml +++ b/e2etests/testlocalapps/pom.xml @@ -17,7 +17,7 @@ 4.0.0 - testlocalapss + testlocalapps AppEngine :: Test local applications com.google.appengine @@ -71,4 +71,15 @@ bundle_standard_with_weblistener_memcache allinone + + + + maven-war-plugin + 3.4.0 + + false + + + + diff --git a/e2etests/testlocalapps/sample-badaeweb/pom.xml b/e2etests/testlocalapps/sample-badaeweb/pom.xml index b63affb5..3abeb14d 100644 --- a/e2etests/testlocalapps/sample-badaeweb/pom.xml +++ b/e2etests/testlocalapps/sample-badaeweb/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-badaeweb - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-badaeweb @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-baddispatch-yaml/pom.xml b/e2etests/testlocalapps/sample-baddispatch-yaml/pom.xml index 5f8e11bf..0cd22f2a 100644 --- a/e2etests/testlocalapps/sample-baddispatch-yaml/pom.xml +++ b/e2etests/testlocalapps/sample-baddispatch-yaml/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-baddispatch-yaml - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-baddispatch-yaml @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-baddispatch/pom.xml b/e2etests/testlocalapps/sample-baddispatch/pom.xml index 0e8eb885..eb6d1dab 100644 --- a/e2etests/testlocalapps/sample-baddispatch/pom.xml +++ b/e2etests/testlocalapps/sample-baddispatch/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-baddispatch - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-baddispatch @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-badentrypoint/pom.xml b/e2etests/testlocalapps/sample-badentrypoint/pom.xml index 46af394c..6c5d5d1a 100644 --- a/e2etests/testlocalapps/sample-badentrypoint/pom.xml +++ b/e2etests/testlocalapps/sample-badentrypoint/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-badentrypoint - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-badentrypoint @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-badindexes/pom.xml b/e2etests/testlocalapps/sample-badindexes/pom.xml index 765687d4..1b9db0bb 100644 --- a/e2etests/testlocalapps/sample-badindexes/pom.xml +++ b/e2etests/testlocalapps/sample-badindexes/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-badindexes - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-badindexes @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-badruntimechannel/pom.xml b/e2etests/testlocalapps/sample-badruntimechannel/pom.xml index 317690db..ea813149 100644 --- a/e2etests/testlocalapps/sample-badruntimechannel/pom.xml +++ b/e2etests/testlocalapps/sample-badruntimechannel/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-badruntimechannel - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-badruntimechannel @@ -40,7 +44,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -59,13 +62,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-badweb/pom.xml b/e2etests/testlocalapps/sample-badweb/pom.xml index be1486df..5dc8b97b 100644 --- a/e2etests/testlocalapps/sample-badweb/pom.xml +++ b/e2etests/testlocalapps/sample-badweb/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-badweb - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-badweb @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-default-auto-ids/pom.xml b/e2etests/testlocalapps/sample-default-auto-ids/pom.xml index 0899475f..c31df681 100644 --- a/e2etests/testlocalapps/sample-default-auto-ids/pom.xml +++ b/e2etests/testlocalapps/sample-default-auto-ids/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-default-auto-ids - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-default-auto-ids @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-error-in-tag-file/pom.xml b/e2etests/testlocalapps/sample-error-in-tag-file/pom.xml index 34ca1c9e..65bfef19 100644 --- a/e2etests/testlocalapps/sample-error-in-tag-file/pom.xml +++ b/e2etests/testlocalapps/sample-error-in-tag-file/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-error-in-tag-file - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-error-in-tag-file @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-java11/pom.xml b/e2etests/testlocalapps/sample-java11/pom.xml index 23c6a0c1..18ffbab8 100644 --- a/e2etests/testlocalapps/sample-java11/pom.xml +++ b/e2etests/testlocalapps/sample-java11/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-java11 - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-java11 @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-java17/pom.xml b/e2etests/testlocalapps/sample-java17/pom.xml index adddb06f..cbd228a1 100644 --- a/e2etests/testlocalapps/sample-java17/pom.xml +++ b/e2etests/testlocalapps/sample-java17/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-java17 - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-java17 @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-jsptaglibrary/pom.xml b/e2etests/testlocalapps/sample-jsptaglibrary/pom.xml index 07aa9b40..82efab37 100644 --- a/e2etests/testlocalapps/sample-jsptaglibrary/pom.xml +++ b/e2etests/testlocalapps/sample-jsptaglibrary/pom.xml @@ -15,29 +15,17 @@ limitations under the License. --> - - 4.0.0 com.google.appengine.demos sample-jsptaglibrary - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-jsptaglibrary @@ -55,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -74,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-jspx/pom.xml b/e2etests/testlocalapps/sample-jspx/pom.xml index 9ad92ff8..8aa5c302 100644 --- a/e2etests/testlocalapps/sample-jspx/pom.xml +++ b/e2etests/testlocalapps/sample-jspx/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-jspx - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-jspx @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-legacy-auto-ids/pom.xml b/e2etests/testlocalapps/sample-legacy-auto-ids/pom.xml index afdd85b2..15081f8e 100644 --- a/e2etests/testlocalapps/sample-legacy-auto-ids/pom.xml +++ b/e2etests/testlocalapps/sample-legacy-auto-ids/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-legacy-auto-ids - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-legacy-auto-ids @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-missingappid/pom.xml b/e2etests/testlocalapps/sample-missingappid/pom.xml index 2e4810e7..96b4234d 100644 --- a/e2etests/testlocalapps/sample-missingappid/pom.xml +++ b/e2etests/testlocalapps/sample-missingappid/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-missingappid - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-missingappid @@ -30,7 +34,6 @@ UTF-8 true UTF-8 - 2.7.2 1.8 1.8 @@ -40,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -59,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-nojsps/pom.xml b/e2etests/testlocalapps/sample-nojsps/pom.xml index 3a7aeb33..c0fd181c 100644 --- a/e2etests/testlocalapps/sample-nojsps/pom.xml +++ b/e2etests/testlocalapps/sample-nojsps/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-nojsps - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-nojsps @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-unspecified-auto-ids/pom.xml b/e2etests/testlocalapps/sample-unspecified-auto-ids/pom.xml index 24f1d0d5..88f359b2 100644 --- a/e2etests/testlocalapps/sample-unspecified-auto-ids/pom.xml +++ b/e2etests/testlocalapps/sample-unspecified-auto-ids/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-unspecified-auto-ids - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-unspecified-auto-ids @@ -40,7 +44,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -59,13 +62,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sample-with-classes/pom.xml b/e2etests/testlocalapps/sample-with-classes/pom.xml index a708af40..867b99c2 100644 --- a/e2etests/testlocalapps/sample-with-classes/pom.xml +++ b/e2etests/testlocalapps/sample-with-classes/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sample-with-classes - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sample-with-classes @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sampleapp-automatic-module/pom.xml b/e2etests/testlocalapps/sampleapp-automatic-module/pom.xml index 1f0fac21..c544c408 100644 --- a/e2etests/testlocalapps/sampleapp-automatic-module/pom.xml +++ b/e2etests/testlocalapps/sampleapp-automatic-module/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sampleapp-automatic-module - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sampleapp-automatic-module @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sampleapp-backends/pom.xml b/e2etests/testlocalapps/sampleapp-backends/pom.xml index 82be059e..824b99af 100644 --- a/e2etests/testlocalapps/sampleapp-backends/pom.xml +++ b/e2etests/testlocalapps/sampleapp-backends/pom.xml @@ -21,9 +21,12 @@ com.google.appengine.demos sampleapp-backends - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war - AppEngine :: sampleapp-backends @@ -39,7 +42,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +60,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sampleapp-basic-module/pom.xml b/e2etests/testlocalapps/sampleapp-basic-module/pom.xml index 052de12d..0643f6ce 100644 --- a/e2etests/testlocalapps/sampleapp-basic-module/pom.xml +++ b/e2etests/testlocalapps/sampleapp-basic-module/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sampleapp-basic-module - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sampleapp-basic-module @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sampleapp-manual-module/pom.xml b/e2etests/testlocalapps/sampleapp-manual-module/pom.xml index 4058efdc..8525e0aa 100644 --- a/e2etests/testlocalapps/sampleapp-manual-module/pom.xml +++ b/e2etests/testlocalapps/sampleapp-manual-module/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sampleapp-manual-module - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sampleapp-manual-module @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sampleapp-runtime/pom.xml b/e2etests/testlocalapps/sampleapp-runtime/pom.xml index 11cf1eb5..d5a17f92 100644 --- a/e2etests/testlocalapps/sampleapp-runtime/pom.xml +++ b/e2etests/testlocalapps/sampleapp-runtime/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos sampleapp-runtime - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: sampleapp-runtime @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/sampleapp/pom.xml b/e2etests/testlocalapps/sampleapp/pom.xml index 8d016593..5e379366 100644 --- a/e2etests/testlocalapps/sampleapp/pom.xml +++ b/e2etests/testlocalapps/sampleapp/pom.xml @@ -21,9 +21,12 @@ com.google.appengine.demos sampleapp - 0.0.1-SNAPSHOT war - + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + AppEngine :: sampleapp @@ -39,7 +42,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +60,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/stage-sampleapp/pom.xml b/e2etests/testlocalapps/stage-sampleapp/pom.xml index e5a04a86..a121f811 100644 --- a/e2etests/testlocalapps/stage-sampleapp/pom.xml +++ b/e2etests/testlocalapps/stage-sampleapp/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos stage-sampleapp - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: stage-sampleapp @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/stage-with-staging-options/pom.xml b/e2etests/testlocalapps/stage-with-staging-options/pom.xml index fc653166..51f7e676 100644 --- a/e2etests/testlocalapps/stage-with-staging-options/pom.xml +++ b/e2etests/testlocalapps/stage-with-staging-options/pom.xml @@ -21,7 +21,11 @@ com.google.appengine.demos stage-with-staging-options - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war AppEngine :: stage-with-staging-options @@ -39,7 +43,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +61,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/e2etests/testlocalapps/xmlorder/pom.xml b/e2etests/testlocalapps/xmlorder/pom.xml index 7dabab74..445e2c6d 100644 --- a/e2etests/testlocalapps/xmlorder/pom.xml +++ b/e2etests/testlocalapps/xmlorder/pom.xml @@ -21,9 +21,12 @@ com.google.appengine.demos xmlorder - 0.0.1-SNAPSHOT + + com.google.appengine + testlocalapps + 2.0.21-SNAPSHOT + war - AppEngine :: xmlorder @@ -39,7 +42,6 @@ javax.servlet javax.servlet-api - 3.1.0 provided @@ -58,13 +60,6 @@ - - maven-war-plugin - 3.3.1 - - false - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 79f5b024..3083efae 100644 --- a/pom.xml +++ b/pom.xml @@ -888,19 +888,25 @@ ${project.basedir}/licenses/resources/third-party-file-template.ftl - - org.cyclonedx - cyclonedx-maven-plugin - 2.7.9 - - - package - - makeAggregateBom - - - - + + org.spdx + spdx-maven-plugin + + 0.7.0 + + + build-spdx + + createSPDX + + + + + + *.spdx + + + diff --git a/runtime/annotationscanningwebapp/pom.xml b/runtime/annotationscanningwebapp/pom.xml index ea6434bb..41acfdd5 100644 --- a/runtime/annotationscanningwebapp/pom.xml +++ b/runtime/annotationscanningwebapp/pom.xml @@ -20,8 +20,11 @@ 4.0.0 war - 1.0 - + + com.google.appengine + runtime-parent + 2.0.21-SNAPSHOT + com.google.appengine.demos annotationscanningwebapp AppEngine :: annotationscanningwebapp diff --git a/runtime/failinitfilterwebapp/pom.xml b/runtime/failinitfilterwebapp/pom.xml index 497f4ca0..5a7bd2eb 100644 --- a/runtime/failinitfilterwebapp/pom.xml +++ b/runtime/failinitfilterwebapp/pom.xml @@ -20,8 +20,11 @@ 4.0.0 war - 1.0 - + + com.google.appengine + runtime-parent + 2.0.21-SNAPSHOT + com.google.appengine.demos failinitfilterwebapp AppEngine :: failinitfilterwebapp @@ -46,7 +49,7 @@ org.apache.maven.plugins maven-war-plugin - 3.3.2 + 3.4.0 true @@ -61,7 +64,7 @@ maven-compiler-plugin - 3.10.1 + 3.11.0 8 @@ -69,7 +72,7 @@ com.google.cloud.tools appengine-maven-plugin - 2.4.1 + 2.4.4 ludo-in-in failinitfilter diff --git a/runtime/nogaeapiswebapp/pom.xml b/runtime/nogaeapiswebapp/pom.xml index 46cd76e4..0707a83f 100644 --- a/runtime/nogaeapiswebapp/pom.xml +++ b/runtime/nogaeapiswebapp/pom.xml @@ -20,8 +20,11 @@ 4.0.0 war - 1.0 - + + com.google.appengine + runtime-parent + 2.0.21-SNAPSHOT + com.google.appengine.demos nogaeapiswebapp AppEngine :: nogaeapiswebapp @@ -61,7 +64,7 @@ maven-compiler-plugin - 3.10.1 + 3.11.0 8 diff --git a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/AnnotationScanningTest.java b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/AnnotationScanningTest.java index 98c914ea..aa554c68 100644 --- a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/AnnotationScanningTest.java +++ b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/AnnotationScanningTest.java @@ -45,7 +45,7 @@ public static void beforeClass() throws IOException, InterruptedException { File currentDirectory = new File("").getAbsoluteFile(); appRoot = new File( - currentDirectory, "../annotationscanningwebapp/target/annotationscanningwebapp-1.0"); + currentDirectory, "../annotationscanningwebapp/target/annotationscanningwebapp-2.0.21-SNAPSHOT"); assertThat(appRoot.isDirectory()).isTrue(); } diff --git a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/FailureFilterTest.java b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/FailureFilterTest.java index 4292ef75..2ce669f7 100644 --- a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/FailureFilterTest.java +++ b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/FailureFilterTest.java @@ -32,7 +32,7 @@ public final class FailureFilterTest extends JavaRuntimeViaHttpBase { @BeforeClass public static void beforeClass() throws IOException, InterruptedException { File currentDirectory = new File("").getAbsoluteFile(); - appRoot = new File(currentDirectory, "../failinitfilterwebapp/target/failinitfilterwebapp-1.0"); + appRoot = new File(currentDirectory, "../failinitfilterwebapp/target/failinitfilterwebapp-2.0.21-SNAPSHOT"); assertThat(appRoot.isDirectory()).isTrue(); } diff --git a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/NoGaeApisTest.java b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/NoGaeApisTest.java index 49986aaa..b65c8d1f 100644 --- a/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/NoGaeApisTest.java +++ b/runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/NoGaeApisTest.java @@ -42,7 +42,7 @@ public NoGaeApisTest(Boolean useJetty12) { @BeforeClass public static void beforeClass() throws IOException, InterruptedException { File currentDirectory = new File("").getAbsoluteFile(); - appRoot = new File(currentDirectory, "../nogaeapiswebapp/target/nogaeapiswebapp-1.0"); + appRoot = new File(currentDirectory, "../nogaeapiswebapp/target/nogaeapiswebapp-2.0.21-SNAPSHOT"); assertThat(appRoot.isDirectory()).isTrue(); } diff --git a/sessiondata/src/main/java/com/google/apphosting/runtime/VirtualThreadSetup.java b/sessiondata/src/main/java/com/google/apphosting/runtime/VirtualThreadSetup.java new file mode 100644 index 00000000..806ee59d --- /dev/null +++ b/sessiondata/src/main/java/com/google/apphosting/runtime/VirtualThreadSetup.java @@ -0,0 +1,51 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.apphosting.runtime; + +import java.lang.reflect.Method; +import java.util.concurrent.Executor; +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * Try to setup a Jetty QueuedThreadPool to use JDK21 virtual threads via + * introspection. No op if this cannot be done (i.e running with old JDKs. + */ +public class VirtualThreadSetup { + + private static final Logger logger = Logger.getLogger(VirtualThreadSetup.class.getName()); + + /* + * Try to setup a Jetty QueuedThreadPool to use JDK21 virtual threads via + * introspection. No op if this cannot be done (i.e running with old JDKs. + Object should be a Jetty QueuedThreadPool. + */ + public static Object tryToSetVirtualThread(Object threadPool) { + try { + Method newVirtualThreadPerTaskExecutor = Executor.class.getMethod("newVirtualThreadPerTaskExecutor"); + Method setVirtualThreadsExecutor = threadPool.getClass().getMethod("setVirtualThreadsExecutor", + Class.forName("org.eclipse.jetty.util.thread.QueuedThreadPool")); + setVirtualThreadsExecutor.invoke(threadPool, newVirtualThreadPerTaskExecutor.invoke(null)); + } catch (Exception e) { + logger.log(Level.INFO, "Could not configure JDK21 virtual threads in Jetty runtime.", e); + } + return threadPool; + } + + private VirtualThreadSetup() { + + } +}