Skip to content

Commit

Permalink
[JENKINS-45055] - Enable FindBugs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Jun 22, 2017
1 parent 9e9ded8 commit b3f4b15
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions pom.xml
Expand Up @@ -52,7 +52,34 @@
<connection>scm:git:git://github.com/jenkinsci/envinject-lib.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/envinject-lib.git</developerConnection>
<tag>HEAD</tag>
</scm>
</scm>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.4</version>
<configuration>
<effort>Max</effort>
<failOnError>true</failOnError>
</configuration>
<executions>
<execution>
<id>findbugs</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
<configuration>
<xmlOutput>true</xmlOutput>
<findbugsXmlOutput>false</findbugsXmlOutput>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>

Expand All @@ -62,7 +89,12 @@
<version>${jenkins.core.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>

<repositories>
Expand Down

0 comments on commit b3f4b15

Please sign in to comment.