diff options
-rw-r--r-- | redback-authorization/redback-authorization-api/pom.xml | 10 | ||||
-rw-r--r-- | redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml | 11 | ||||
-rw-r--r-- | redback-common/redback-common-jdo/pom.xml | 19 | ||||
-rw-r--r-- | redback-common/redback-common-ldap/pom.xml | 18 | ||||
-rw-r--r-- | redback-configuration/pom.xml | 15 | ||||
-rw-r--r-- | redback-data-management/pom.xml | 15 |
6 files changed, 88 insertions, 0 deletions
diff --git a/redback-authorization/redback-authorization-api/pom.xml b/redback-authorization/redback-authorization-api/pom.xml index 0b1b6ce86..b5fade25c 100644 --- a/redback-authorization/redback-authorization-api/pom.xml +++ b/redback-authorization/redback-authorization-api/pom.xml @@ -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> diff --git a/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml b/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml index 061595b34..b54a7717b 100644 --- a/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml +++ b/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml @@ -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> diff --git a/redback-common/redback-common-jdo/pom.xml b/redback-common/redback-common-jdo/pom.xml index 7619a4ac3..6633d8a95 100644 --- a/redback-common/redback-common-jdo/pom.xml +++ b/redback-common/redback-common-jdo/pom.xml @@ -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> diff --git a/redback-common/redback-common-ldap/pom.xml b/redback-common/redback-common-ldap/pom.xml index ea594fe99..90c4237dc 100644 --- a/redback-common/redback-common-ldap/pom.xml +++ b/redback-common/redback-common-ldap/pom.xml @@ -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> diff --git a/redback-configuration/pom.xml b/redback-configuration/pom.xml index e4068c19c..ee5de2bf3 100644 --- a/redback-configuration/pom.xml +++ b/redback-configuration/pom.xml @@ -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> diff --git a/redback-data-management/pom.xml b/redback-data-management/pom.xml index dcc533a7d..ae2fc608e 100644 --- a/redback-data-management/pom.xml +++ b/redback-data-management/pom.xml @@ -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> |