diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-26 09:33:28 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-26 09:39:02 +0200 |
commit | 4e988bedc4071b52b228cc54c215999ff37d6b49 (patch) | |
tree | 234a50cca54892c82ae7802fd8dc57327f37f369 /container-search/pom.xml | |
parent | e13dd1dddbb60f5f93be302355965a9371050212 (diff) |
explicit lint options
* this module can't really benefit from linting currently,
but make it explicit for clarity.
Diffstat (limited to 'container-search/pom.xml')
-rw-r--r-- | container-search/pom.xml | 12 |
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> |