You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2015/05/22 01:45:36 UTC

[04/10] activemq-artemis git commit: Enable Google's Error Prone

Enable Google's Error Prone

Enabled by default to catch common Java mistakes as compile-time errors.

https://github.com/google/error-prone


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/592f28f0
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/592f28f0
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/592f28f0

Branch: refs/heads/master
Commit: 592f28f03f8f6eebafaf288468c032beca31a032
Parents: 27cbc92
Author: Thiago Kronig <ca...@uolinc.com>
Authored: Tue May 5 14:23:40 2015 -0300
Committer: Clebert Suconic <cl...@apache.org>
Committed: Thu May 21 19:45:01 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/592f28f0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 61824fd..af558b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -700,6 +700,18 @@
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
+               <!-- Enable Google's Error-Prone https://github.com/google/error-prone -->
+               <configuration>
+                 <compilerId>javac-with-errorprone</compilerId>
+                 <forceJavacCompilerUse>true</forceJavacCompilerUse>
+               </configuration>
+               <dependencies>
+                 <dependency>
+                   <groupId>org.codehaus.plexus</groupId>
+                   <artifactId>plexus-compiler-javac-errorprone</artifactId>
+                   <version>2.5</version>
+                 </dependency>
+               </dependencies>
             </plugin>
             <plugin>
                <groupId>org.apache.maven.plugins</groupId>