Junit Core Bundle packages duplicate copy of JUnit classes
----------------------------------------------------------

                 Key: SLING-2026
                 URL: https://issues.apache.org/jira/browse/SLING-2026
             Project: Sling
          Issue Type: Bug
          Components: Testing
            Reporter: Chetan Mehrotra
            Priority: Minor


The org.apache.sling.junit.core Bundle embed the Junit jar. The bundle produced 
has Junit classes present as inline and also as part of embedded jar

The maven-bundle-plugin should have one of the following two configuration
1. Inline the Junit jar dependency
2. Use _exportcontent instead of the Export-Package for exporting clases which 
are part of any embedded  jar

For more details have a look at 
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%28BND%29-EmbedDependencyandExportPackage

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to