You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2015/03/31 04:44:04 UTC

[4/4] jclouds git commit: Enable Google error-prone for builds

Enable Google error-prone for builds


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

Branch: refs/heads/master
Commit: 32ab9596be00b95a3a9bf6891b531a729c693778
Parents: ac0e5c2
Author: Andrew Gaul <ga...@apache.org>
Authored: Tue Jun 24 18:52:54 2014 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Mon Mar 30 19:06:48 2015 -0700

----------------------------------------------------------------------
 project/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/32ab9596/project/pom.xml
----------------------------------------------------------------------
diff --git a/project/pom.xml b/project/pom.xml
index 1e37d77..bd0ecaa 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -725,6 +725,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.1</version>
         <configuration>
+          <compilerId>javac-with-errorprone</compilerId>
+          <forceJavacCompilerUse>true</forceJavacCompilerUse>
           <encoding>${project.build.sourceEncoding}</encoding>
           <source>${maven.compile.source}</source>
           <target>${maven.compile.target}</target>
@@ -736,8 +738,20 @@
               <compilerArg>-Xlint:-rawtypes</compilerArg>
               <compilerArg>-Xlint:-serial</compilerArg>
               <compilerArg>-Xlint:-unchecked</compilerArg>
+              <compilerArg>-Xep:GuiceAssistedInjectScoping:OFF</compilerArg>
+              <compilerArg>-Xep:LongLiteralLowerCaseSuffix:OFF</compilerArg>
+              <compilerArg>-Xep:NonAtomicVolatileUpdate:OFF</compilerArg>
+              <compilerArg>-Xep:StringEquality:ERROR</compilerArg>
+              <compilerArg>-Xep:TypeParameterUnusedInFormals:OFF</compilerArg>
             </compilerArgs>
         </configuration>
+        <dependencies>
+            <dependency>
+                <groupId>org.codehaus.plexus</groupId>
+                <artifactId>plexus-compiler-javac-errorprone</artifactId>
+                <version>2.5</version>
+            </dependency>
+        </dependencies>
       </plugin>
       <plugin>
         <artifactId>maven-resources-plugin</artifactId>