]> source.dussan.org Git - jgit.git/commitdiff
Fix inconsistent versioning of findbugs-maven-plugin 88/90788/2
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 10 Feb 2017 01:36:37 +0000 (10:36 +0900)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 10 Feb 2017 21:45:38 +0000 (22:45 +0100)
In one place version 3.0.4 is used, and in another place 3.0.3 is
used.

Define the version (3.0.4) in a property and use that in both places,
so it doesn't get inconsistent again next time the version is bumped.

Change-Id: If3a2489cec78c0c9ef76aa6b941fda51b098e04b
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 9686faaafac7e547276e741c36d7c6a9fba71aa9..1b6b589839e9b61fa62529044e9c5e61fc06ef09 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <maven-javadoc-plugin-version>2.10.4</maven-javadoc-plugin-version>
     <tycho-extras-version>0.26.0</tycho-extras-version>
     <gson-version>2.2.4</gson-version>
+    <findbugs-maven-plugin-version>3.0.4</findbugs-maven-plugin-version>
 
     <!-- Properties to enable jacoco code coverage analysis -->
     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>findbugs-maven-plugin</artifactId>
-          <version>3.0.4</version>
+          <version>${findbugs-maven-plugin-version}</version>
           <configuration>
             <findbugsXmlOutput>true</findbugsXmlOutput>
             <failOnError>false</failOnError>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
-        <version>3.0.3</version>
+        <version>${findbugs-maven-plugin-version}</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>