diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-25 15:45:08 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-25 15:45:08 +0200 |
commit | 23703c1ffee54e246ab7f93841cb4adedbd360fd (patch) | |
tree | 61768393a6c4e9a56af1048be732f443f10748f0 /fsa/pom.xml | |
parent | 575f2d7572ac68f9dfc6c6e0d4ea4240c3aac2e8 (diff) |
disallow some warnings
Diffstat (limited to 'fsa/pom.xml')
-rw-r--r-- | fsa/pom.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fsa/pom.xml b/fsa/pom.xml index e173a836864..98ad9083e7e 100644 --- a/fsa/pom.xml +++ b/fsa/pom.xml @@ -40,6 +40,20 @@ <artifactId>bundle-plugin</artifactId> <extensions>true</extensions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <compilerArgs> + <arg>-Xlint:all</arg> + <arg>-Xlint:-fallthrough</arg> + <arg>-Xlint:-serial</arg> + <arg>-Xlint:-rawtypes</arg> + <arg>-Xlint:-unchecked</arg> + <arg>-Werror</arg> + </compilerArgs> + </configuration> + </plugin> </plugins> </build> </project> |