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 2016/09/27 13:25:17 UTC
[3/6] activemq-artemis git commit: Flag missing @Override as error in
Error Prone
Flag missing @Override as error in 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/78d8ddff
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/78d8ddff
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/78d8ddff
Branch: refs/heads/master
Commit: 78d8ddffbee99d316392864547d41a074d3b869a
Parents: 1a4fe92
Author: Ville Skytt� <vi...@iki.fi>
Authored: Tue Sep 27 14:36:00 2016 +0300
Committer: Ville Skytt� <vi...@iki.fi>
Committed: Tue Sep 27 14:36:00 2016 +0300
----------------------------------------------------------------------
artemis-selector/pom.xml | 10 ++++++++++
pom.xml | 1 +
2 files changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/78d8ddff/artemis-selector/pom.xml
----------------------------------------------------------------------
diff --git a/artemis-selector/pom.xml b/artemis-selector/pom.xml
index 0610751..8b3fe64 100644
--- a/artemis-selector/pom.xml
+++ b/artemis-selector/pom.xml
@@ -56,6 +56,16 @@
</resources>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArgs>
+ <!-- TODO: do this only for generated-sources -->
+ <arg>-Xep:MissingOverride:WARN</arg>
+ </compilerArgs>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>2.6</version>
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/78d8ddff/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6d11452..4cea394 100644
--- a/pom.xml
+++ b/pom.xml
@@ -930,6 +930,7 @@
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<compilerId>${javac-compiler-id}</compilerId>
<compilerArgs>
+ <arg>-Xep:MissingOverride:ERROR</arg>
<arg>-Xep:NonAtomicVolatileUpdate:ERROR</arg>
<arg>-Xep:SynchronizeOnNonFinalField:ERROR</arg>
<arg>-Xep:StaticAccessedFromInstance:ERROR</arg>