fix package declarations

avoid duplicating classes in the produced bundle
This commit is contained in:
Brett Porter 2014-07-30 11:39:50 +10:00
parent 8007a47a3a
commit b9920ed0ff
2 changed files with 5 additions and 5 deletions

View File

@ -47,11 +47,11 @@
<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>

View File

@ -46,10 +46,10 @@
<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,