summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-26 09:33:28 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-26 09:39:02 +0200
commit4e988bedc4071b52b228cc54c215999ff37d6b49 (patch)
tree234a50cca54892c82ae7802fd8dc57327f37f369 /container-search
parente13dd1dddbb60f5f93be302355965a9371050212 (diff)
explicit lint options
* this module can't really benefit from linting currently, but make it explicit for clarity.
Diffstat (limited to 'container-search')
-rw-r--r--container-search/pom.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/container-search/pom.xml b/container-search/pom.xml
index 51242b4498d..78245852e5d 100644
--- a/container-search/pom.xml
+++ b/container-search/pom.xml
@@ -261,6 +261,18 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArgs>
+ <arg>-Xlint:all</arg>
+ <arg>-Xlint:-rawtypes</arg>
+ <arg>-Xlint:-unchecked</arg>
+ <arg>-Xlint:-serial</arg>
+ <arg>-Xlint:-deprecation</arg>
+ <arg>-Xlint:-dep-ann</arg>
+ <arg>-Xlint:-cast</arg>
+ <arg>-Werror</arg>
+ </compilerArgs>
+ </configuration>
</plugin>
</plugins>
</build>