diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-25 09:42:46 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-25 09:50:06 +0200 |
commit | 98cc621acba20b6dd0cc352def62356c1a1c259f (patch) | |
tree | 62ce090abb10ddaa694c20211e9e4a3ca61ee8d8 /service-monitor | |
parent | 999f5d4a2b5dc3e4e4229c9ff532859c560d89eb (diff) |
disallow warnings
* also, remove unused maven-plugin-plugin
Diffstat (limited to 'service-monitor')
-rw-r--r-- | service-monitor/pom.xml | 10 | ||||
-rw-r--r-- | service-monitor/src/test/java/com/yahoo/vespa/service/monitor/ServiceNameUtilTest.java | 1 |
2 files changed, 4 insertions, 7 deletions
diff --git a/service-monitor/pom.xml b/service-monitor/pom.xml index 960cbd3605b..92be696abaf 100644 --- a/service-monitor/pom.xml +++ b/service-monitor/pom.xml @@ -131,16 +131,12 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArgs> - <arg>-Xlint:rawtypes</arg> - <arg>-Xlint:unchecked</arg> - <arg>-Xlint:deprecation</arg> + <arg>-Xlint:all</arg> + <arg>-Xlint:-serial</arg> + <arg>-Werror</arg> </compilerArgs> </configuration> </plugin> diff --git a/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/ServiceNameUtilTest.java b/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/ServiceNameUtilTest.java index f339b149317..e39b23c02a4 100644 --- a/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/ServiceNameUtilTest.java +++ b/service-monitor/src/test/java/com/yahoo/vespa/service/monitor/ServiceNameUtilTest.java @@ -32,6 +32,7 @@ public class ServiceNameUtilTest { } @SafeVarargs + @SuppressWarnings("varargs") private static <T> Set<T> setOf(T... t) { return new HashSet<>(Arrays.asList(t)); } |