Skip to content

Commit b333ab8

Browse files
kweinmeisterShabirmean
authored andcommitted
spring dependencyManagement
1 parent df090f9 commit b333ab8

File tree

26 files changed

+221
-146
lines changed

26 files changed

+221
-146
lines changed

appengine-java11/springboot-helloworld/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
<plugin>
7979
<groupId>org.springframework.boot</groupId>
8080
<artifactId>spring-boot-maven-plugin</artifactId>
81-
<version>2.7.10</version>
8281
<executions>
8382
<execution>
8483
<goals>

appengine-java11/tasks-handler/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ limitations under the License.
8282
<plugin>
8383
<groupId>org.springframework.boot</groupId>
8484
<artifactId>spring-boot-maven-plugin</artifactId>
85-
<version>2.7.10</version>
8685
<executions>
8786
<execution>
8887
<goals>

appengine-java8/datastore/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@
3636
<maven.compiler.source>1.8</maven.compiler.source>
3737
</properties>
3838

39+
<dependencyManagement>
40+
<dependencies>
41+
<dependency>
42+
<artifactId>libraries-bom</artifactId>
43+
<groupId>com.google.cloud</groupId>
44+
<scope>import</scope>
45+
<type>pom</type>
46+
<version>26.12.0</version>
47+
</dependency>
48+
</dependencies>
49+
</dependencyManagement>
50+
3951
<dependencies>
4052
<dependency>
4153
<groupId>com.google.appengine</groupId>
@@ -73,7 +85,6 @@
7385
<dependency>
7486
<groupId>com.google.guava</groupId>
7587
<artifactId>guava</artifactId>
76-
<version>31.1-jre</version>
7788
</dependency>
7889

7990
<dependency>

appengine-java8/springboot-helloworld/pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<dependency>
3030
<groupId>org.springframework.boot</groupId>
3131
<artifactId>spring-boot-starter-web</artifactId>
32-
<version>${spring.boot.version}</version>
3332
<!-- Exclude Tomcat so that it doesn't conflict w/ Jetty server -->
3433
<exclusions>
3534
<exclusion>
@@ -56,7 +55,6 @@
5655
<dependency>
5756
<groupId>org.springframework.boot</groupId>
5857
<artifactId>spring-boot-starter-test</artifactId>
59-
<version>${spring.boot.version}</version>
6058
<scope>test</scope>
6159
</dependency>
6260
<dependency>
@@ -84,7 +82,6 @@
8482
<plugin>
8583
<groupId>org.springframework.boot</groupId>
8684
<artifactId>spring-boot-maven-plugin</artifactId>
87-
<version>${spring.boot.version}</version>
8885
</plugin>
8986
<plugin>
9087
<groupId>com.google.cloud.tools</groupId>

cloud-sql/r2dbc/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
<plugin>
7373
<groupId>org.springframework.boot</groupId>
7474
<artifactId>spring-boot-maven-plugin</artifactId>
75-
<version>2.7.10</version>
7675
<executions>
7776
<execution>
7877
<id>repackage</id>

eventarc/audit-storage/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ limitations under the License.
8181
<plugin>
8282
<groupId>org.springframework.boot</groupId>
8383
<artifactId>spring-boot-maven-plugin</artifactId>
84-
<version>2.7.10</version>
8584
<executions>
8685
<execution>
8786
<goals>

eventarc/generic/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ limitations under the License.
7474
<plugin>
7575
<groupId>org.springframework.boot</groupId>
7676
<artifactId>spring-boot-maven-plugin</artifactId>
77-
<version>2.7.10</version>
7877
<executions>
7978
<execution>
8079
<goals>

eventarc/pubsub/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ limitations under the License.
8181
<plugin>
8282
<groupId>org.springframework.boot</groupId>
8383
<artifactId>spring-boot-maven-plugin</artifactId>
84-
<version>2.7.10</version>
8584
<executions>
8685
<execution>
8786
<goals>

flexible/helloworld-springboot/pom.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,30 @@
3636
<maven.compiler.target>1.8</maven.compiler.target>
3737
</properties>
3838

39+
<dependencyManagement>
40+
<dependencies>
41+
<dependency>
42+
<groupId>org.springframework.boot</groupId>
43+
<artifactId>spring-boot-dependencies</artifactId>
44+
<version>2.7.10</version>
45+
<type>pom</type>
46+
<scope>import</scope>
47+
</dependency>
48+
</dependencies>
49+
</dependencyManagement>
50+
3951
<dependencies>
4052
<dependency>
4153
<groupId>org.springframework.boot</groupId>
4254
<artifactId>spring-boot-starter-web</artifactId>
43-
<version>2.7.10</version>
4455
</dependency>
4556
<dependency>
4657
<groupId>org.springframework.boot</groupId>
4758
<artifactId>spring-boot-starter-actuator</artifactId>
48-
<version>2.7.10</version>
4959
</dependency>
5060
<dependency>
5161
<groupId>org.springframework.boot</groupId>
5262
<artifactId>spring-boot-starter-test</artifactId>
53-
<version>2.7.10</version>
5463
<scope>test</scope>
5564
<exclusions>
5665
<exclusion>
@@ -66,7 +75,6 @@
6675
<plugin>
6776
<groupId>org.springframework.boot</groupId>
6877
<artifactId>spring-boot-maven-plugin</artifactId>
69-
<version>2.7.10</version>
7078
<executions>
7179
<execution>
7280
<goals>

flexible/java-11/analytics/pom.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@
3939
<failOnMissingWebXml>false</failOnMissingWebXml> <!-- REQUIRED -->
4040
</properties>
4141

42+
<dependencyManagement>
43+
<dependencies>
44+
<dependency>
45+
<groupId>org.springframework.boot</groupId>
46+
<artifactId>spring-boot-dependencies</artifactId>
47+
<version>2.7.10</version>
48+
<type>pom</type>
49+
<scope>import</scope>
50+
</dependency>
51+
</dependencies>
52+
</dependencyManagement>
53+
4254
<dependencies>
4355
<dependency>
4456
<groupId>org.apache.httpcomponents</groupId>
@@ -55,7 +67,6 @@
5567
<dependency>
5668
<groupId>org.springframework.boot</groupId>
5769
<artifactId>spring-boot-starter-web</artifactId>
58-
<version>2.7.6</version>
5970
</dependency>
6071
<dependency>
6172
<groupId>org.junit.jupiter</groupId>
@@ -90,7 +101,6 @@
90101
<dependency>
91102
<groupId>org.springframework.boot</groupId>
92103
<artifactId>spring-boot-starter-test</artifactId>
93-
<version>2.7.6</version>
94104
</dependency>
95105
</dependencies>
96106
<build>
@@ -114,7 +124,6 @@
114124
<plugin>
115125
<groupId>org.springframework.boot</groupId>
116126
<artifactId>spring-boot-maven-plugin</artifactId>
117-
<version>2.7.6</version>
118127
<executions>
119128
<execution>
120129
<goals>

0 commit comments

Comments
 (0)