Skip to content

Commit d86604a

Browse files
authored
[JAVA-19532] Clean up pom files (eugenp#13868)
1 parent 907f96f commit d86604a

File tree

2 files changed

+23
-15
lines changed
  • messaging-modules/spring-jms
  • microservices-modules/rest-express

2 files changed

+23
-15
lines changed

messaging-modules/spring-jms/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@
4444
<dependency>
4545
<groupId>org.mockito</groupId>
4646
<artifactId>mockito-core</artifactId>
47-
<version>4.6.1</version>
47+
<version>${mockito-core.version}</version>
4848
<scope>test</scope>
4949
</dependency>
5050
<dependency>
5151
<groupId>org.apache.activemq.tooling</groupId>
5252
<artifactId>activemq-junit</artifactId>
53-
<version>5.16.5</version>
53+
<version>${activemq-junit.version}</version>
5454
<scope>test</scope>
5555
</dependency>
5656
<dependency>
5757
<groupId>org.testcontainers</groupId>
5858
<artifactId>testcontainers</artifactId>
59-
<version>1.17.3</version>
59+
<version>${testcontainers.version}</version>
6060
<scope>test</scope>
6161
</dependency>
6262
</dependencies>
@@ -83,6 +83,9 @@
8383
<activemq.version>5.14.1</activemq.version>
8484
<spring-boot-test.version>1.5.10.RELEASE</spring-boot-test.version>
8585
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>
86+
<mockito-core.version>4.6.1</mockito-core.version>
87+
<activemq-junit.version>5.16.5</activemq-junit.version>
88+
<testcontainers.version>1.17.3</testcontainers.version>
8689
</properties>
8790

8891
</project>

microservices-modules/rest-express/pom.xml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,6 @@
2323
<artifactId>rest-express</artifactId>
2424
<packaging>jar</packaging>
2525

26-
<properties>
27-
<RestExpress.plugin.version>0.3.3</RestExpress.plugin.version>
28-
<metrics-graphite.version>3.1.2</metrics-graphite.version>
29-
<HyperExpressPlugin.version>2.6</HyperExpressPlugin.version>
30-
<RestExpress.version>0.11.3</RestExpress.version>
31-
<Syntaxe.version>1.0</Syntaxe.version>
32-
<repoexpress-mongodb.version>0.4.8</repoexpress-mongodb.version>
33-
<junit4.version>4.11</junit4.version>
34-
</properties>
3526

3627
<dependencies>
3728
<dependency>
@@ -98,15 +89,15 @@
9889
<plugin>
9990
<groupId>org.codehaus.mojo</groupId>
10091
<artifactId>exec-maven-plugin</artifactId>
101-
<version>1.2.1</version>
92+
<version>${exec-maven-plugin.version}</version>
10293
<configuration>
10394
<mainClass>com.baeldung.restexpress.Main</mainClass>
10495
</configuration>
10596
</plugin>
10697
<plugin>
10798
<groupId>org.apache.maven.plugins</groupId>
10899
<artifactId>maven-shade-plugin</artifactId>
109-
<version>2.4.1</version>
100+
<version>${maven-shade-plugin.version}</version>
110101
<configuration>
111102
<createDependencyReducedPom>false</createDependencyReducedPom>
112103
<filters>
@@ -140,8 +131,22 @@
140131
<plugin>
141132
<groupId>org.codehaus.mojo</groupId>
142133
<artifactId>versions-maven-plugin</artifactId>
143-
<version>2.0</version>
134+
<version>${versions-maven-plugin.version}</version>
144135
</plugin>
145136
</plugins>
146137
</reporting>
138+
139+
<properties>
140+
<RestExpress.plugin.version>0.3.3</RestExpress.plugin.version>
141+
<metrics-graphite.version>3.1.2</metrics-graphite.version>
142+
<HyperExpressPlugin.version>2.6</HyperExpressPlugin.version>
143+
<RestExpress.version>0.11.3</RestExpress.version>
144+
<Syntaxe.version>1.0</Syntaxe.version>
145+
<repoexpress-mongodb.version>0.4.8</repoexpress-mongodb.version>
146+
<junit4.version>4.11</junit4.version>
147+
<exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
148+
<maven-shade-plugin.version>2.4.1</maven-shade-plugin.version>
149+
<versions-maven-plugin.version>2.0</versions-maven-plugin.version>
150+
</properties>
151+
147152
</project>

0 commit comments

Comments
 (0)