accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [01/16] accumulo git commit: ACCUMULO-4046 Apply modernizer-maven-plugin
Date Wed, 03 Feb 2016 17:53:54 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6 46958bf7b -> f49fe539f
  refs/heads/1.7 a706b019a -> b639709e0
  refs/heads/master 2c8088e99 -> dc087b12f


ACCUMULO-4046 Apply modernizer-maven-plugin

* Check for common mistakes, and use of poorly performant, buggy, and/or deprecated APIs


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/a9482a91
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/a9482a91
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/a9482a91

Branch: refs/heads/1.6
Commit: a9482a9161b152dc9b5d46a8ddeee823fbd0cbfb
Parents: 46958bf
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Tue Feb 2 23:05:54 2016 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Tue Feb 2 23:05:54 2016 -0500

----------------------------------------------------------------------
 pom.xml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/a9482a91/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5693c95..71796a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -505,6 +505,14 @@
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.gaul</groupId>
+          <artifactId>modernizer-maven-plugin</artifactId>
+          <version>1.4.0</version>
+          <configuration>
+            <javaVersion>${java.ver}</javaVersion>
+          </configuration>
+        </plugin>
+        <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>findbugs-maven-plugin</artifactId>
           <version>${findbugs.version}</version>
@@ -780,6 +788,18 @@
         </executions>
       </plugin>
       <plugin>
+        <groupId>org.gaul</groupId>
+        <artifactId>modernizer-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>modernizer</id>
+            <goals>
+              <goal>modernizer</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
@@ -1098,6 +1118,19 @@
                     </pluginExecution>
                     <pluginExecution>
                       <pluginExecutionFilter>
+                        <groupId>org.gaul</groupId>
+                        <artifactId>modernizer-maven-plugin</artifactId>
+                        <versionRange>[1.4.0,)</versionRange>
+                        <goals>
+                          <goal>modernizer</goal>
+                        </goals>
+                      </pluginExecutionFilter>
+                      <action>
+                        <ignore />
+                      </action>
+                    </pluginExecution>
+                    <pluginExecution>
+                      <pluginExecutionFilter>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-checkstyle-plugin</artifactId>
                         <versionRange>[2.13,)</versionRange>


Mime
View raw message