From: Michael Vorburger Date: Tue, 16 Jan 2018 00:54:13 +0000 (+0100) Subject: Do not inline javax.annotation in config-manager X-Git-Tag: release/oxygen~34 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=refs%2Fchanges%2F83%2F67183%2F2 Do not inline javax.annotation in config-manager as in If36ced7ad72b19d1240f49c3224ff65c29ee22a0: "We should not be including a private copy of javax.annotation, as we do not need it." This one was found by the odl.simple's ClasspathHellDuplicatesCheckRule: >> jHades - scanning classpath for overlapping jars: file:/home/vorburger/.m2/repository/org/opendaylight/controller/config-manager/0.8.0-SNAPSHOT/config-manager-0.8.0-SNAPSHOT.jar overlaps with file:/home/vorburger/.m2/repository/com/google/code/findbugs/annotations/3.0.0/annotations-3.0.0.jar - total overlapping classes: 35 - same classloader ! This is an ERROR! Change-Id: I8b11ed8de2b31aef5e8410f0673a2ed85017287e Signed-off-by: Michael Vorburger --- diff --git a/opendaylight/config/config-manager/pom.xml b/opendaylight/config/config-manager/pom.xml index f1483b35c0..d61ed73752 100644 --- a/opendaylight/config/config-manager/pom.xml +++ b/opendaylight/config/config-manager/pom.xml @@ -80,8 +80,7 @@ org.opendaylight.controller.config.manager.impl.osgi.ConfigManagerActivator - org.opendaylight.controller.config.manager.*, - javax.annotation.*, + org.opendaylight.controller.config.manager.*