Specify jsr305 This eliminates warnings of the form:
/home/gaul/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar(com/google/common/util/concurrent/Monitor.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy' Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/ff8fe231 Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/ff8fe231 Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/ff8fe231 Branch: refs/heads/master Commit: ff8fe2316b9eb51faf1d83cb00a6236426f0ba44 Parents: 7704893 Author: Andrew Gaul <[email protected]> Authored: Thu Sep 7 01:32:53 2017 -0700 Committer: Andrew Gaul <[email protected]> Committed: Thu Sep 7 23:51:50 2017 -0700 ---------------------------------------------------------------------- project/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/ff8fe231/project/pom.xml ---------------------------------------------------------------------- diff --git a/project/pom.xml b/project/pom.xml index bf5169f..c47c04a 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -254,6 +254,11 @@ <version>${guava.version}</version> </dependency> <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> + <version>1.3.9</version> + </dependency> + <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-assistedinject</artifactId> <version>${guice.version}</version> @@ -366,6 +371,10 @@ <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> <version>2.1.0</version> + </dependency> + <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> <scope>provided</scope> </dependency> <dependency>
