mirror of https://github.com/apache/archiva.git
fix package declarations
avoid duplicating classes in the produced bundle
This commit is contained in:
parent
8007a47a3a
commit
b9920ed0ff
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue