avoid duplicating classes in the produced bundle
<Bundle-SymbolicName>org.apache.archiva.maven2.model</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Import-Package>
- javax.xml.bind.annotation
+ javax.xml.bind.annotation,
+ com.fasterxml.jackson.annotation
</Import-Package>
<Export-Package>
- org.apache.archiva.maven2.model*;version=${project.version},
- com.fasterxml.jackson.annotation
+ org.apache.archiva.maven2.model*;version=${project.version}
</Export-Package>
</instructions>
</configuration>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
- <Bundle-SymbolicName>org.apache.archiva.metadata.model</Bundle-SymbolicName>
+ <Bundle-SymbolicName>org.apache.archiva.metadata.model.maven2</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
- org.apache.archiva.metadata.model;version=${project.version};-split-package:=merge-first
+ org.apache.archiva.metadata.model.maven2;version=${project.version}
</Export-Package>
<Import-Package>
javax.xml.bind.annotation,