aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-documentgen-plugin
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2018-08-15 15:57:16 +0200
committerMartin Polden <mpolden@mpolden.no>2018-08-15 15:57:16 +0200
commit15ad6a4394648a779781796f1a20db6cdee4da64 (patch)
tree7b7eaf8cf10b3c72260e34906ac66cd84d49c95a /vespa-documentgen-plugin
parent506ea9c1367748ddd4ff20203fc13211d635f5a6 (diff)
Exclude compiler warnings from generated sources
Diffstat (limited to 'vespa-documentgen-plugin')
-rw-r--r--vespa-documentgen-plugin/pom.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/vespa-documentgen-plugin/pom.xml b/vespa-documentgen-plugin/pom.xml
index 6ce6fef7fce..3aa66856cb4 100644
--- a/vespa-documentgen-plugin/pom.xml
+++ b/vespa-documentgen-plugin/pom.xml
@@ -73,8 +73,16 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArgs>
+ <arg>-Xlint:all</arg>
+ <arg>-Xlint:-unchecked</arg>
+ <arg>-Xlint:-processing</arg>
+ <arg>-Werror</arg>
+ </compilerArgs>
+ </configuration>
</plugin>
</plugins>
</build>