aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2017-04-25 23:16:02 +0200
committerGitHub <noreply@github.com>2017-04-25 23:16:02 +0200
commit60959a0368a1cfedf42bb2a970ee8adf8792a417 (patch)
tree6482b6312d8835e6ff616979e7ceda419b4b1c2a
parentc807fd691d6d63a25486addeba627a7b583e6aca (diff)
parent23703c1ffee54e246ab7f93841cb4adedbd360fd (diff)
Merge pull request #2278 from yahoo/arnej/add-Werror-fsa
disallow some warnings
-rw-r--r--fsa/pom.xml14
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>