Skip to content

Commit 33c2fc5

Browse files
committed
Centralize dependency versions in properties section
- Add lombok.version property and use it in dependency and annotation processor - Add springdoc.version property and use it in springdoc-openapi dependency - Update mavensurefire.version to maven-surefire.version with value 3.5.4 - Use maven-surefire.version for both surefire and failsafe plugins (same release) - Remove unused swagger.version and springweb.version properties
1 parent 9c98fc8 commit 33c2fc5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2121
<maven.compiler.source>17</maven.compiler.source>
2222
<maven.compiler.target>17</maven.compiler.target>
23-
<swagger.version>3.0.0</swagger.version>
24-
<springweb.version>3.0.0</springweb.version>
2523
<couchbase.version>3.10.0</couchbase.version>
24+
<lombok.version>1.18.42</lombok.version>
25+
<springdoc.version>3.0.1</springdoc.version>
2626
<junit.version>4.13.2</junit.version>
27-
<mavensurefire.version>3.0.0-M5</mavensurefire.version>
27+
<maven-surefire.version>3.5.4</maven-surefire.version>
2828
</properties>
2929

3030
<dependencies>
@@ -79,7 +79,7 @@
7979
<dependency>
8080
<groupId>org.springdoc</groupId>
8181
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
82-
<version>3.0.1</version>
82+
<version>${springdoc.version}</version>
8383
</dependency>
8484
<dependency>
8585
<groupId>com.couchbase.client</groupId>
@@ -89,7 +89,7 @@
8989
<dependency>
9090
<groupId>org.projectlombok</groupId>
9191
<artifactId>lombok</artifactId>
92-
<version>1.18.42</version>
92+
<version>${lombok.version}</version>
9393
<scope>provided</scope>
9494
</dependency>
9595
<!-- https://mvnrepository.com/artifact/org.mindrot/jbcrypt -->
@@ -130,15 +130,15 @@
130130
<path>
131131
<groupId>org.projectlombok</groupId>
132132
<artifactId>lombok</artifactId>
133-
<version>1.18.42</version>
133+
<version>${lombok.version}</version>
134134
</path>
135135
</annotationProcessorPaths>
136136
</configuration>
137137
</plugin>
138138
<plugin>
139139
<groupId>org.apache.maven.plugins</groupId>
140140
<artifactId>maven-surefire-plugin</artifactId>
141-
<version>3.5.4</version>
141+
<version>${maven-surefire.version}</version>
142142
</plugin>
143143
<plugin>
144144
<groupId>org.springframework.boot</groupId>
@@ -169,7 +169,7 @@
169169
<plugin>
170170
<groupId>org.apache.maven.plugins</groupId>
171171
<artifactId>maven-failsafe-plugin</artifactId>
172-
<version>3.5.4</version>
172+
<version>${maven-surefire.version}</version>
173173
<configuration>
174174
<includes>
175175
<include>**/*IntegrationTest.java</include>

0 commit comments

Comments
 (0)