commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thecarlh...@apache.org
Subject [13/14] commons-dbutils git commit: Setup checkstyle as a managed plugin for easier use
Date Fri, 21 Jul 2017 03:53:11 GMT
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 <thecarlhall@apache.org>
Authored: Thu Jul 20 20:48:33 2017 -0700
Committer: Carl Hall <thecarlhall@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>


Mime
View raw message