diff options
author | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2016-11-30 16:05:58 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2016-11-30 16:27:12 +0100 |
commit | 07b0e7421fe4d295574934a94f1440b165e45412 (patch) | |
tree | a8c7e391eec46484029676c6baa6803eb04341a0 /jdisc_http_service/pom.xml | |
parent | d7ce8d882f788f3193985f47a84b790d8511e969 (diff) |
Fail compilation on warnings
Suppress warnings on unused resource in try-with-resource statements
Diffstat (limited to 'jdisc_http_service/pom.xml')
-rw-r--r-- | jdisc_http_service/pom.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jdisc_http_service/pom.xml b/jdisc_http_service/pom.xml index fdae8728ea9..91e9b4336c6 100644 --- a/jdisc_http_service/pom.xml +++ b/jdisc_http_service/pom.xml @@ -171,9 +171,9 @@ <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgs> - <arg>-Xlint:rawtypes</arg> - <arg>-Xlint:unchecked</arg> - <arg>-Xlint:deprecation</arg> + <arg>-Xlint:all</arg> + <arg>-Xlint:-serial</arg> + <arg>-Werror</arg> </compilerArgs> </configuration> </plugin> |