From 0e172361c5535032f320e9fa009fa427d8085c2a Mon Sep 17 00:00:00 2001 From: Arne H Juul Date: Fri, 21 Apr 2017 13:34:58 +0200 Subject: enable more warnings * and add -Werror flag, disallowing warnings * bump maven-plugin-api version to avoid evil warning * note: -Xlint:processing would warn about org.apache.maven.plugins.annotations.* not being "claimed", this is not a problem it seems. --- vespa-documentgen-plugin/pom.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'vespa-documentgen-plugin') diff --git a/vespa-documentgen-plugin/pom.xml b/vespa-documentgen-plugin/pom.xml index 0c5b957c14b..de6404f2ea7 100644 --- a/vespa-documentgen-plugin/pom.xml +++ b/vespa-documentgen-plugin/pom.xml @@ -35,7 +35,7 @@ org.apache.maven maven-plugin-api - 3.1.1 + 3.5.0 provided @@ -68,6 +68,19 @@ true + + org.apache.maven.plugins + maven-compiler-plugin + + 1.8 + 1.8 + + -Xlint:all + -Xlint:-processing + -Werror + + + -- cgit v1.2.3