Skip to content

Commit 05fa4ba

Browse files
committed
[BAEL-9326] migrating to dependency versions as properties
1 parent 0d8029a commit 05fa4ba

File tree

2 files changed

+18
-7
lines changed
  • spring-ai-modules/spring-ai-mcp/mcp-spring

2 files changed

+18
-7
lines changed

spring-ai-modules/spring-ai-mcp/mcp-spring/mcp-client-oauth2/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<properties>
1818
<java.version>17</java.version>
1919
<spring-ai.version>1.0.0</spring-ai.version>
20+
<spring-boot.starter.test>3.5.4</spring-boot.starter.test>
2021
</properties>
2122

2223
<dependencies>
@@ -31,7 +32,7 @@
3132
<dependency>
3233
<groupId>org.springframework.boot</groupId>
3334
<artifactId>spring-boot-starter-test</artifactId>
34-
<version>3.5.4</version>
35+
<version>${spring-boot.starter.test}</version>
3536
</dependency>
3637
<dependency>
3738
<groupId>org.springframework.boot</groupId>

spring-ai-modules/spring-ai-mcp/mcp-spring/mcp-server-oauth2/pom.xml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,36 @@
1717
<version>1.0.0</version>
1818
<name>mcp-server-oauth2</name>
1919

20+
<properties>
21+
<classmate.version>1.7.0</classmate.version>
22+
<spring-ai.version>1.0.0-M7</spring-ai.version>
23+
<java.version>17</java.version>
24+
<spring-ai.version>1.0.0</spring-ai.version>
25+
<junit-version>5.10.2</junit-version>
26+
</properties>
27+
2028
<dependencies>
2129
<dependency>
2230
<groupId>com.fasterxml</groupId>
2331
<artifactId>classmate</artifactId>
24-
<version>1.7.0</version>
32+
<version>${classmate.version}</version>
2533
</dependency>
2634
<dependency>
2735
<groupId>org.springframework.ai</groupId>
2836
<artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
29-
<version>1.0.0-M7</version>
37+
<version>${spring-ai.version}</version>
3038
</dependency>
3139

3240
<dependency>
3341
<groupId>org.springframework.boot</groupId>
3442
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
3543
</dependency>
44+
<dependency>
45+
<groupId>org.junit.jupiter</groupId>
46+
<artifactId>junit-jupiter</artifactId>
47+
<version>${junit-version}</version>
48+
<scope>test</scope>
49+
</dependency>
3650
</dependencies>
3751

3852
<build>
@@ -44,8 +58,4 @@
4458
</plugins>
4559
</build>
4660

47-
<properties>
48-
<java.version>17</java.version>
49-
<spring-ai.version>1.0.0</spring-ai.version>
50-
</properties>
5161
</project>

0 commit comments

Comments
 (0)