Skip to content
Snippets Groups Projects
Commit f85a6b12 authored by Christian Wulf's avatar Christian Wulf
Browse files

added version variables for plugins mentioned in both <plugin> and

<report>
parent 0a3ea585
No related branches found
No related tags found
No related merge requests found
#FindBugs User Preferences #FindBugs User Preferences
#Tue Jul 14 13:07:22 CEST 2015 #Tue Jul 14 14:13:17 CEST 2015
detector_threshold=2 detector_threshold=2
effort=max effort=max
excludefilter0=.fbExcludeFilterFile|true excludefilter0=.fbExcludeFilterFile|true
......
...@@ -21,8 +21,13 @@ ...@@ -21,8 +21,13 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.6</java.version>
<javadocOutputDir>apidocs</javadocOutputDir> <javadocOutputDir>apidocs</javadocOutputDir>
<java.version>1.6</java.version>
<checkstyle.version>2.15</checkstyle.version>
<findbugs.version>3.0.1</findbugs.version>
<pmd.version>3.5</pmd.version>
<javadoc.version>2.10.3</javadoc.version>
</properties> </properties>
<distributionManagement> <distributionManagement>
...@@ -184,7 +189,7 @@ ...@@ -184,7 +189,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version> <version>${javadoc.version}</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
...@@ -211,7 +216,7 @@ ...@@ -211,7 +216,7 @@
<!-- <plugin> --> <!-- <plugin> -->
<!-- <groupId>org.apache.maven.plugins</groupId> --> <!-- <groupId>org.apache.maven.plugins</groupId> -->
<!-- <artifactId>maven-checkstyle-plugin</artifactId> --> <!-- <artifactId>maven-checkstyle-plugin</artifactId> -->
<!-- <version>2.15</version> --> <!-- <version>${checkstyle.version}</version> -->
<!-- <executions> --> <!-- <executions> -->
<!-- <execution> --> <!-- <execution> -->
<!-- <phase>test</phase> --> <!-- <phase>test</phase> -->
...@@ -235,7 +240,7 @@ ...@@ -235,7 +240,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId> <artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.1</version> <version>${findbugs.version}</version>
<configuration> <configuration>
<effort>Max</effort> <effort>Max</effort>
<threshold>Max</threshold> <threshold>Max</threshold>
...@@ -269,7 +274,7 @@ ...@@ -269,7 +274,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId> <artifactId>maven-pmd-plugin</artifactId>
<version>3.5</version> <version>${pmd.version}</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.chw</groupId> <groupId>de.chw</groupId>
...@@ -349,6 +354,12 @@ ...@@ -349,6 +354,12 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- removes the recommendation message for javadoc-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8</version>
</plugin>
</plugins> </plugins>
</build> </build>
...@@ -375,19 +386,32 @@ ...@@ -375,19 +386,32 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<version>2.15</version> <version>${checkstyle.version}</version>
<reportSets> <!-- <reportSets> -->
<reportSet> <!-- <reportSet> -->
<reports> <!-- <reports> -->
<report>checkstyle</report> <!-- <report>checkstyle</report> -->
</reports> <!-- </reports> -->
</reportSet> <!-- </reportSet> -->
</reportSets> <!-- </reportSets> -->
</plugin>
<!-- Findbugs -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
</plugin>
<!-- PMD -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${pmd.version}</version>
</plugin> </plugin>
<!-- generate javadoc html files -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version> <version>${javadoc.version}</version>
<configuration> <configuration>
<destDir>${javadocOutputDir}</destDir> <destDir>${javadocOutputDir}</destDir>
</configuration> </configuration>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment