no config-persister-api inline in config-persister-directory-xml-adapter 88/67188/6
authorMichael Vorburger <vorburger@redhat.com>
Tue, 16 Jan 2018 02:23:33 +0000 (03:23 +0100)
committerTom Pantelis <tompantelis@gmail.com>
Thu, 8 Mar 2018 03:38:15 +0000 (03:38 +0000)
and avoid this violation flagged by my ClasspathHellDuplicatesCheckRule:

>> jHades - scanning classpath for overlapping jars:

file:/home/vorburger/.m2/repository/org/opendaylight/controller/config-persister-directory-xml-adapter/0.8.0-SNAPSHOT/config-persister-directory-xml-adapter-0.8.0-SNAPSHOT.jar
overlaps with
file:/home/vorburger/.m2/repository/org/opendaylight/controller/config-persister-file-xml-adapter/0.8.0-SNAPSHOT/config-persister-file-xml-adapter-0.8.0-SNAPSHOT.jar
- total overlapping classes: 5 - same classloader ! This is an ERROR!

Change-Id: If0c442d48c14f69121744dccd5c15fbc3aa13694
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
opendaylight/config/config-persister-directory-xml-adapter/pom.xml

index c5c5493..f805ee5 100644 (file)
           <instructions>
             <Fragment-Host>${project.groupId}.config-persister-impl</Fragment-Host>
             <Provide-Capability>org.opendaylight.controller.config.persister.storage.adapter</Provide-Capability>
-            <Private-Package>org.opendaylight.controller.config.persist.storage.file.xml.model,</Private-Package>
           </instructions>
         </configuration>
       </plugin>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.