Do not pull in JSR305 by default 00/80800/7
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Mar 2019 15:21:28 +0000 (16:21 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 13 Mar 2019 16:45:39 +0000 (17:45 +0100)
commit299718990bcdb3dc4e8726999d9324a81caa3d56
treedd11b0b0825714f797bdc39de2dc9b019bce8f42
parent917cf4632e841d1bae9e736d24e1a9809242b381
Do not pull in JSR305 by default

The migration to findbugs:annotations is actively hurtful to us,
as JSR305 is clashing on javax.annotation package with JEE
annotations.

This patch removes findbugs:annotations, making them a banned
dependency, and instead defines spotbugs:annotations and
findbugs:jsr305.

spotbugs:annotations replaces findbugs:annotations as the default
dependency.

JIRA: ODLPARENT-198
Change-Id: I3e113fb3af3f2cdd6e4cd6b22ffc0dcac5efbcf9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bundles-test-lib/src/main/java/org/opendaylight/odlparent/bundlestest/lib/BundleSymbolicNameWithVersion.java
karaf-plugin/src/main/java/org/opendaylight/odlparent/FeatureUtil.java
odlparent-bundle-check/src/main/java/org/opendaylight/odlparent/bundle/SpotbugsAnnotations.java [moved from odlparent-bundle-check/src/main/java/org/opendaylight/odlparent/bundle/JavaxAnnotations.java with 58% similarity]
odlparent-dependency-check/pom.xml
odlparent/pom.xml