Browse Source

Ensure same version of maven-surefire-plugin and maven-surefire-report-plugin

The version of maven-surefire-report-plugin was controlled by a project
property, but the maven-surefire-plugin version was set explicitly.

Rename maven-surefire-report-plugin-version to maven-surefire-version,
and use the same property for both plugins' versions.

Change-Id: Ib2aea36f3db969cd038c071d0cd35f9056642518
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.2
David Pursehouse 6 years ago
parent
commit
8d040d6ba9
  1. 8
      pom.xml

8
pom.xml

@ -217,7 +217,7 @@
<tycho-extras-version>1.2.0</tycho-extras-version> <tycho-extras-version>1.2.0</tycho-extras-version>
<gson-version>2.8.2</gson-version> <gson-version>2.8.2</gson-version>
<spotbugs-maven-plugin-version>3.1.6</spotbugs-maven-plugin-version> <spotbugs-maven-plugin-version>3.1.6</spotbugs-maven-plugin-version>
<maven-surefire-report-plugin-version>2.21.0</maven-surefire-report-plugin-version> <maven-surefire-version>2.21.0</maven-surefire-version>
<maven-compiler-plugin-version>3.8.0</maven-compiler-plugin-version> <maven-compiler-plugin-version>3.8.0</maven-compiler-plugin-version>
<!-- Properties to enable jacoco code coverage analysis --> <!-- Properties to enable jacoco code coverage analysis -->
@ -305,7 +305,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version> <version>${maven-surefire-version}</version>
<configuration> <configuration>
<forkCount>${test-fork-count}</forkCount> <forkCount>${test-fork-count}</forkCount>
<reuseForks>true</reuseForks> <reuseForks>true</reuseForks>
@ -393,7 +393,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId> <artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven-surefire-report-plugin-version}</version> <version>${maven-surefire-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -570,7 +570,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId> <artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven-surefire-report-plugin-version}</version> <version>${maven-surefire-version}</version>
<configuration> <configuration>
<aggregate>true</aggregate> <aggregate>true</aggregate>
<alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport> <alwaysGenerateSurefireReport>false</alwaysGenerateSurefireReport>

Loading…
Cancel
Save