Skip to content

Commit

Permalink
Move to spotbugs (close #62)
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-tremblay committed Oct 5, 2018
1 parent e7121a2 commit fd1a4f8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ It is a basic compilation of the application.

### Full build

This build will create the source and javadoc jars and run findbugs.
This build will create the source and javadoc jars and run spotbugs.

`mvn install -Pfull`

Expand Down
34 changes: 17 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<findbugs-maven-plugin.version>3.0.5</findbugs-maven-plugin.version>
<spotbugs-maven-plugin.version>3.1.6</spotbugs-maven-plugin.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -298,9 +298,9 @@
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs-maven-plugin.version}</version>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<omitVisitors>Naming</omitVisitors>
Expand Down Expand Up @@ -341,11 +341,11 @@
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<versionRange>[2.5.5,)</versionRange>
<goals>
<goal>findbugs</goal>
<goal>spotbugs</goal>
</goals>
</pluginExecutionFilter>
<action>
Expand All @@ -363,16 +363,16 @@
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs-maven-plugin.version}</version>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs-maven-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
<version>3.10.0</version>
<configuration>
<targetJdk>1.6</targetJdk>
</configuration>
Expand All @@ -390,7 +390,7 @@

<profiles>
<profile>
<!-- Activate to generate javadoc, sources jars, license check and findbugs -->
<!-- Activate to generate javadoc, sources jars, license check and spotbugs -->
<id>full</id>
<build>
<plugins>
Expand All @@ -417,13 +417,13 @@
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<executions>
<execution>
<id>findbugs</id>
<id>spotbugs</id>
<goals>
<goal>findbugs</goal>
<goal>spotbugs</goal>
</goals>
</execution>
</executions>
Expand Down

0 comments on commit fd1a4f8

Please sign in to comment.