[MRM-1651] Resume enhancement of the OSGi statements

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1371034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Baptiste Onofre 2012-08-09 03:37:17 +00:00
parent e4fca67d31
commit 68120f1781
6 changed files with 88 additions and 0 deletions

View File

@ -36,6 +36,16 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.apache.archiva.redback.authorization;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
org.apache.archiva.redback.users;version=${project.version}
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -51,6 +51,17 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.apache.archiva.redback.authorization.open;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
org.apache.archiva.redback.authorization;version=${project.version},
org.springframework.stereotype;version="[3,4)"
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -90,6 +90,25 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.apache.archiva.redback.common.jdo*;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject;version="[1,2)",
javax.jdo;version="[2,3)",
org.apache.archiva.redback.components.jdo;version=${project.version},
org.apache.archiva.redback.configuration;version=${project.version},
org.apache.commons.lang;version="[2.6,3)",
org.codehaus.plexus.interpolation;version="[1.9,2)",
org.jpox*;version="[1.1,2)",
org.springframework.stereotype;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -70,6 +70,24 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.apache.archiva.redback.common.ldap*;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.annotation,
javax.naming*,
javax.inject;version="[1,2)",
org.apache.archiva.redback.configuration;version=${project.version},
org.apache.archiva.redback.users;version=${project.version},
org.apache.commons.lang;version="[2.6,3)",
org.springframework.stereotype;version="[3,4)",
com.sun.jndi.ldap;resolution:=optional,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -72,6 +72,21 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.apache.archiva.redback.configuration;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.annotation,
javax.inject;version="[1,2)",
org.apache.archiva.redback.components.evaluator*;version=${project.version},
org.apache.archiva.redback.components.registry;version=${project.version},
org.springframework.stereotype;version="[3,4)",
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -86,6 +86,21 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.apache.archiva.redback.management;version=${project.version};-split-package:=merge-first
</Export-Package>
<Import-Package>
javax.xml.stream,
org.apache.archiva.redback.keys*;version=${project.version},
org.apache.archiva.redback.rbac*;version=${project.version},
org.apache.archiva.redback.users*;version=${project.version},
org.codehaus.plexus.util;version="[3,4)",
org.springframework.stereotype;version="[3,4)"
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>