Skip to content

Commit bf43d4e

Browse files
ameyjadiyePascalSchumacher
authored andcommitted
added findbug and checkstyle support while building (closes apache#16)
1 parent 76b2750 commit bf43d4e

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

pom.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
</properties>
194194

195195
<build>
196-
<defaultGoal>clean verify apache-rat:check clirr:check javadoc:javadoc</defaultGoal>
196+
<defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc</defaultGoal>
197197
<plugins>
198198
<plugin>
199199
<artifactId>maven-assembly-plugin</artifactId>
@@ -226,6 +226,26 @@
226226
</ignorePathsToDelete>
227227
</configuration>
228228
</plugin>
229+
<plugin>
230+
<groupId>org.apache.maven.plugins</groupId>
231+
<artifactId>maven-checkstyle-plugin</artifactId>
232+
<version>2.15</version>
233+
<configuration>
234+
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
235+
<enableRulesSummary>false</enableRulesSummary>
236+
<suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation>
237+
</configuration>
238+
</plugin>
239+
<plugin>
240+
<groupId>org.codehaus.mojo</groupId>
241+
<artifactId>findbugs-maven-plugin</artifactId>
242+
<version>3.0.1</version>
243+
<configuration>
244+
<threshold>Normal</threshold>
245+
<effort>Default</effort>
246+
<excludeFilterFile>${basedir}/src/conf/findbugs-exclude-filter.xml</excludeFilterFile>
247+
</configuration>
248+
</plugin>
229249
</plugins>
230250
</pluginManagement>
231251
</build>

0 commit comments

Comments
 (0)