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-SymbolicName>org.apache.archiva.maven2.model</Bundle-SymbolicName>
|
||||||
<Bundle-Version>${project.version}</Bundle-Version>
|
<Bundle-Version>${project.version}</Bundle-Version>
|
||||||
<Import-Package>
|
<Import-Package>
|
||||||
javax.xml.bind.annotation
|
javax.xml.bind.annotation,
|
||||||
|
com.fasterxml.jackson.annotation
|
||||||
</Import-Package>
|
</Import-Package>
|
||||||
<Export-Package>
|
<Export-Package>
|
||||||
org.apache.archiva.maven2.model*;version=${project.version},
|
org.apache.archiva.maven2.model*;version=${project.version}
|
||||||
com.fasterxml.jackson.annotation
|
|
||||||
</Export-Package>
|
</Export-Package>
|
||||||
</instructions>
|
</instructions>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -46,10 +46,10 @@
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<instructions>
|
<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>
|
<Bundle-Version>${project.version}</Bundle-Version>
|
||||||
<Export-Package>
|
<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>
|
</Export-Package>
|
||||||
<Import-Package>
|
<Import-Package>
|
||||||
javax.xml.bind.annotation,
|
javax.xml.bind.annotation,
|
||||||
|
|
Loading…
Reference in New Issue