You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by th...@apache.org on 2017/07/21 03:53:11 UTC
[13/14] commons-dbutils git commit: Setup checkstyle as a managed
plugin for easier use
Setup checkstyle as a managed plugin for easier use
Project: http://git-wip-us.apache.org/repos/asf/commons-dbutils/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbutils/commit/3d15cf80
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbutils/tree/3d15cf80
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbutils/diff/3d15cf80
Branch: refs/heads/master
Commit: 3d15cf80aa9c344c4e0f1e2e4dbe455d94cadecd
Parents: 3864117
Author: Carl Hall <th...@apache.org>
Authored: Thu Jul 20 20:48:33 2017 -0700
Committer: Carl Hall <th...@apache.org>
Committed: Thu Jul 20 20:48:33 2017 -0700
----------------------------------------------------------------------
pom.xml | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/3d15cf80/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ee5b93a..950d048 100644
--- a/pom.xml
+++ b/pom.xml
@@ -250,6 +250,21 @@
</properties>
<build>
+ <defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check findbugs:check javadoc:javadoc</defaultGoal>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${checkstyle.plugin.version}</version>
+ <configuration>
+ <configLocation>${basedir}/checkstyle.xml</configLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ <headerLocation>${basedir}/license-header.txt</headerLocation>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -307,12 +322,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
- <configuration>
- <configLocation>${basedir}/checkstyle.xml</configLocation>
- <enableRulesSummary>false</enableRulesSummary>
- <headerLocation>${basedir}/license-header.txt</headerLocation>
- </configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>