You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2016/02/03 18:53:56 UTC
[03/16] accumulo git commit: ACCUMULO-4046 Apply
modernizer-maven-plugin
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/master
Commit: a9482a9161b152dc9b5d46a8ddeee823fbd0cbfb
Parents: 46958bf
Author: Christopher Tubbs <ct...@apache.org>
Authored: Tue Feb 2 23:05:54 2016 -0500
Committer: Christopher Tubbs <ct...@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>