summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-02-10 10:36:37 +0900
committerMatthias Sohn <matthias.sohn@sap.com>2017-02-10 22:45:38 +0100
commit3a746639349f35b8e216dc38d65a43c5ea14f10d (patch)
tree54b8dce65570ce8c9d253cf14ab52dc4c0424bdb /pom.xml
parentf4cb12206e90714f29bfc819c513df63a91a696f (diff)
downloadjgit-3a746639349f35b8e216dc38d65a43c5ea14f10d.tar.gz
jgit-3a746639349f35b8e216dc38d65a43c5ea14f10d.zip
Fix inconsistent versioning of findbugs-maven-plugin
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>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 9686faaafa..1b6b589839 100644
--- a/pom.xml
+++ b/pom.xml
@@ -208,6 +208,7 @@
<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>
@@ -367,7 +368,7 @@
<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>
@@ -572,7 +573,7 @@
<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>