diff options
author | gjoranv <gv@verizonmedia.com> | 2019-09-11 09:29:28 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2019-09-11 09:41:28 +0200 |
commit | 53b79beb6d24382b51ec61e7f6716986bd6025bd (patch) | |
tree | 1f79b7d039c7b15d131eaedc1edd214c1c081ff6 | |
parent | 7ad1c8891ea374b2452cc706229d128459dfe8e8 (diff) |
Remove com.google.code.findbugs:annotations from container-dep-versions
- The annotations are not used runtime and not provided by the
container.
- Since recently, they do not leak out from the 'container'
artifact, so some users may need to add it to their own pom.
-rw-r--r-- | container-dependencies-enforcer/pom.xml | 1 | ||||
-rw-r--r-- | container-dependency-versions/pom.xml | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/container-dependencies-enforcer/pom.xml b/container-dependencies-enforcer/pom.xml index 70c572185dc..9a4e3704ecd 100644 --- a/container-dependencies-enforcer/pom.xml +++ b/container-dependencies-enforcer/pom.xml @@ -81,7 +81,6 @@ <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:[2.5.4, ${jackson2.version}]:jar:provided</include> <include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:[2.5.4, ${jackson2.version}]:jar:provided</include> - <include>com.google.code.findbugs:annotations:[${findbugs.version}]:jar:provided</include> <include>com.google.code.findbugs:jsr305:[${findbugs.version}]:jar:provided</include> <include>com.google.guava:guava:[${guava.version}]:jar:provided</include> <include>com.google.inject.extensions:guice-assistedinject:[${guice.version}]:jar:provided</include> diff --git a/container-dependency-versions/pom.xml b/container-dependency-versions/pom.xml index 388f1ee5a68..b377e7203a9 100644 --- a/container-dependency-versions/pom.xml +++ b/container-dependency-versions/pom.xml @@ -109,11 +109,8 @@ <version>${jackson2.version}</version> </dependency> <dependency> - <groupId>com.google.code.findbugs</groupId> - <artifactId>annotations</artifactId> - <version>${findbugs.version}</version> - </dependency> - <dependency> + <!-- Not provided runtime, but necessary to build with guava in many cases. + Guava has an optional dep on this and uses the annotations in some classes. --> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>${findbugs.version}</version> |