Skip to content

Commit

Permalink
#18 Fail build when troubling error is found by FindBugs analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
vanekjar authored and David Moravek committed Oct 5, 2018
1 parent 815e3eb commit acb5f97
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions sdks/java/extensions/euphoria/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,28 @@
</executions>
</plugin>

<!-- static analysis of the code using FindBugs -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.4</version>
<configuration>
<effort>max</effort>
<!-- check only for 'troubling' bugs and worse -->
<maxRank>14</maxRank>
<xmlOutput>false</xmlOutput>
<includeTests>true</includeTests>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit acb5f97

Please sign in to comment.