Use plugin version properties defined in Apache Parent Pom
diff --git a/pom.xml b/pom.xml index fde5839..9f89e08 100644 --- a/pom.xml +++ b/pom.xml
@@ -840,6 +840,10 @@ <!-- Overload the miminum maven version requirement --> <minimalMavenBuildVersion>3.8.0</minimalMavenBuildVersion> + + <!-- plugin versions defined in parent pom --> + <surefire.version>3.1.0</surefire.version> + <maven.plugin.tools.version>3.9.0</maven.plugin.tools.version> </properties> <build> @@ -960,7 +964,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> - <version>3.0.0</version> + <version>${surefire.version}</version> </plugin> <plugin> @@ -996,7 +1000,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> - <version>3.9.0</version> + <version>${maven.plugin.tools.version}</version> </plugin> <plugin> @@ -1065,7 +1069,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.0.0</version> + <version>${surefire.version}</version> <configuration> <argLine>-Xmx1024m</argLine> <!-- Activate the use of TCP to transmit events to the plugin --> @@ -1076,7 +1080,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> - <version>3.0.0</version> + <version>${surefire.version}</version> </plugin> <plugin>