[MRM-1651] Improve OSGi statement introducing version range
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1370486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c7ed8b9e0e
commit
b86cd7c849
|
@ -54,6 +54,20 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>
|
||||
org.apache.archiva.redback.authentication;version=${project.version};-split-package:=import-first
|
||||
</Export-Package>
|
||||
<Import-Package>
|
||||
javax.annotation,
|
||||
javax.inject;version="[1,2)",
|
||||
org.apache.archiva.redback.policy;version=${project.version},
|
||||
org.apache.commons.lang;version="[2.6,3)",
|
||||
org.springframework*;version="[3,4)"
|
||||
</Import-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
|
|
@ -100,6 +100,24 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>
|
||||
org.apache.archiva.redback.authentication.ldap;version=${project.version};-split-package:=merge-first
|
||||
</Export-Package>
|
||||
<Import-Package>
|
||||
javax.naming*,
|
||||
javax.inject;version="[1,2)",
|
||||
org.apache.archiva.redback.authentication;version=${project.version},
|
||||
org.apache.archiva.redback.common.ldap*;version=${project.version},
|
||||
org.apache.archiva.redback.configuration;version=${project.version},
|
||||
org.apache.archiva.redback.users.ldap.service;version=${project.version},
|
||||
org.apache.commons.lang;version="[2.6,3)",
|
||||
org.springframework.stereotype;version="[3,4)",
|
||||
org.slf4j;resolution:=optional
|
||||
</Import-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
|
|
|
@ -60,6 +60,17 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>
|
||||
org.apache.archiva.redback.authentication.memory;version=${project.version};-split-package:=merge-first
|
||||
</Export-Package>
|
||||
<Import-Package>
|
||||
org.apache.archiva.redback.authentication;version=${project.version},
|
||||
org.springframework.stereotype;version="[3,4)"
|
||||
</Import-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
|
|
@ -51,6 +51,18 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<Export-Package>
|
||||
org.apache.archiva.redback.authentication.open;version=${project.version};-split-package:=merge-first
|
||||
</Export-Package>
|
||||
<Import-Package>
|
||||
org.apache.archiva.redback.authentication;version=${project.version},
|
||||
org.apache.archiva.redback.policy;version=${project.version},
|
||||
org.springframework.stereotype;version="[3,4)"
|
||||
</Import-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
|
Loading…
Reference in New Issue