You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/10/07 09:02:38 UTC
[2/2] commons-cli git commit: added findbug and checkstyle support
while building (closes #16)
added findbug and checkstyle support while building (closes #16)
Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/bf43d4ed
Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/bf43d4ed
Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/bf43d4ed
Branch: refs/heads/master
Commit: bf43d4ed4639a334245b83c44b6c31f042e784de
Parents: 76b2750
Author: Amey Jadiye <am...@gmail.com>
Authored: Wed Aug 2 00:15:47 2017 +0530
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sat Oct 7 11:02:31 2017 +0200
----------------------------------------------------------------------
pom.xml | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-cli/blob/bf43d4ed/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 124163b..e4f29ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,7 +193,7 @@
</properties>
<build>
- <defaultGoal>clean verify apache-rat:check clirr:check javadoc:javadoc</defaultGoal>
+ <defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
@@ -226,6 +226,26 @@
</ignorePathsToDelete>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.15</version>
+ <configuration>
+ <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>${basedir}/src/conf/findbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>