Skip to content

Commit

Permalink
Merge pull request #61 from GoogleCloudPlatform:sbom
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 572272379
Change-Id: I55f8daa05b901aefc983d4902433fb67ed0aa305
  • Loading branch information
gae-java-bot committed Oct 10, 2023
2 parents 86a22c4 + fccfc1f commit 0d09e8a
Show file tree
Hide file tree
Showing 54 changed files with 323 additions and 421 deletions.
6 changes: 3 additions & 3 deletions applications/proberapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>2.4.1</version>
<version>2.4.4</version>
<configuration>
<projectId>ludo-in-in</projectId>
<version>liveruntimejava8maven</version>
Expand All @@ -253,15 +253,15 @@
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.0</version>
<configuration>
<release>8</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.1.0</version>
<version>3.4.0</version>
<executions>
<execution>
<id>enforce-maven</id>
Expand Down
17 changes: 8 additions & 9 deletions applications/springboot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>springboot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>applications</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: springboot</name>
Expand All @@ -31,7 +35,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>true</maven.deploy.skip>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring.boot.version>2.7.2</spring.boot.version>
<spring.boot.version>2.7.15</spring.boot.version>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
Expand All @@ -40,7 +44,6 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
<!-- Exclude Tomcat so that it doesn't conflict w/ Jetty server -->
<exclusions>
<exclusion>
Expand All @@ -54,28 +57,24 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>1.7.30</version>
<scope>provided</scope>
</dependency>

<!-- Include Servlet API -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring.boot.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -103,7 +102,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>appengine-maven-plugin</artifactId>
<version>2.4.3</version>
<version>2.4.4</version>
<configuration>
<!-- can be set w/ -DprojectId=myProjectId on command line -->
<projectId>ludo-in-in</projectId>
Expand All @@ -114,7 +113,7 @@
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<version>3.4.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
11 changes: 6 additions & 5 deletions e2etests/testlocalapps/allinone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>allinone</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: allinone test application</name>
Expand All @@ -39,18 +43,15 @@
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-1.0-sdk</artifactId>
<version>2.0.19</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.1.2-jre</version>
<type>jar</type>
</dependency>
</dependencies>
Expand All @@ -71,7 +72,7 @@
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<version>3.4.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
Expand Down
14 changes: 5 additions & 9 deletions e2etests/testlocalapps/badcron/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>badcron</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: badcron</name>
Expand All @@ -39,7 +43,6 @@
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -58,13 +61,6 @@
<!-- set the GAE version or use "GCLOUD_CONFIG" for an autogenerated GAE version -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
14 changes: 5 additions & 9 deletions e2etests/testlocalapps/bundle_standard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>bundle_standard</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: bundle_standard</name>
Expand All @@ -39,7 +43,6 @@
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -58,13 +61,6 @@
<!-- set the GAE version or use "GCLOUD_CONFIG" for an autogenerated GAE version -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>bundle_standard_with_container_initializer</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: bundle_standard_with_container_initializer</name>
Expand Down Expand Up @@ -69,13 +73,6 @@
<!-- set the GAE version or use "GCLOUD_CONFIG" for an autogenerated GAE version -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
14 changes: 5 additions & 9 deletions e2etests/testlocalapps/bundle_standard_with_no_jsp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>bundle_standard_with_no_jsp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: bundle_standard_with_no_jsp</name>
Expand All @@ -30,7 +34,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>true</maven.deploy.skip>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring.boot.version>2.7.2</spring.boot.version>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
Expand Down Expand Up @@ -59,13 +62,6 @@
<!-- set the GAE version or use "GCLOUD_CONFIG" for an autogenerated GAE version -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>bundle_standard_with_weblistener_memcache</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: bundle_standard_with_weblistener_memcache</name>
Expand All @@ -30,7 +34,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>true</maven.deploy.skip>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring.boot.version>2.7.2</spring.boot.version>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>
Expand Down Expand Up @@ -64,13 +67,6 @@
<!-- set the GAE version or use "GCLOUD_CONFIG" for an autogenerated GAE version -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
14 changes: 5 additions & 9 deletions e2etests/testlocalapps/cron-bad-job-age-limit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>cron-bad-job-age-limit</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: cron-bad-job-age-limit</name>
Expand All @@ -39,7 +43,6 @@
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -58,13 +61,6 @@
<!-- set the GAE version or use "GCLOUD_CONFIG" for an autogenerated GAE version -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
13 changes: 5 additions & 8 deletions e2etests/testlocalapps/cron-good-retry-parameters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@

<groupId>com.google.appengine.demos</groupId>
<artifactId>cron-good-retry-parameters</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.google.appengine</groupId>
<artifactId>testlocalapps</artifactId>
<version>2.0.21-SNAPSHOT</version>
</parent>
<packaging>war</packaging>

<name>AppEngine :: cron-good-retry-parameters</name>
Expand Down Expand Up @@ -58,13 +62,6 @@
<!-- set the GAE version or use "GCLOUD_CONFIG" for an autogenerated GAE version -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit 0d09e8a

Please sign in to comment.