summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-04-25 11:40:14 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-04-25 11:40:17 +0200
commit9c2001caefca0afcbdf6043662e7effeffcc75ae (patch)
treef6dff57d6d099219a59c5bed4e11d81882849457 /container-core
parent646c9cd19bd29a9a6d69adf03f2aebb089869550 (diff)
disallow some warnings
* note that "rawtypes" and "unchecked" warnings are not enabled, since some design choices (especially the type parametrization of DataList and Renderer) means we would have to suppress those warnings a lot.
Diffstat (limited to 'container-core')
-rw-r--r--container-core/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/container-core/pom.xml b/container-core/pom.xml
index 33b621fe52a..24e3b8707fc 100644
--- a/container-core/pom.xml
+++ b/container-core/pom.xml
@@ -272,6 +272,16 @@
<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:-try</arg>
+ <arg>-Werror</arg>
+ </compilerArgs>
+ </configuration>
</plugin>
</plugins>
<outputDirectory>${buildOutputDirectory}</outputDirectory>