diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-21 12:58:14 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-21 13:03:13 +0200 |
commit | ea951e8f49266a62263732fd9fa42cf1dc69e59e (patch) | |
tree | 17b660fdb262e8085d59742758cdfdd9e5eead8a /bundle-plugin | |
parent | 33390132c1249768e445d8272bbfe421c6d2a5fc (diff) |
enable more warnings
* and add -Werror flag, disallowing warnings
* bump maven-plugin-api version to avoid the evil warning
"Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.sisu.space.SisuIndexAPT6' less than -source '1.8'"
* explicitly add guava dependency
* note: -Xlint:processing would warn about
org.apache.maven.plugins.annotations.* not being "claimed",
this is not a problem it seems.
Diffstat (limited to 'bundle-plugin')
-rw-r--r-- | bundle-plugin/pom.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bundle-plugin/pom.xml b/bundle-plugin/pom.xml index 9699b7bd2df..6c1625161f2 100644 --- a/bundle-plugin/pom.xml +++ b/bundle-plugin/pom.xml @@ -20,6 +20,7 @@ <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> + <version>3.5.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> @@ -62,6 +63,10 @@ <scope>test</scope> </dependency> <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + </dependency> + <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> </dependency> @@ -124,9 +129,9 @@ <source>1.8</source> <target>1.8</target> <compilerArgs> - <arg>-Xlint:rawtypes</arg> - <arg>-Xlint:unchecked</arg> - <arg>-Xlint:deprecation</arg> + <arg>-Xlint:all</arg> + <arg>-Xlint:-processing</arg> + <arg>-Werror</arg> </compilerArgs> </configuration> </plugin> |