diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml')
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml index f27fc91d1..77a776831 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/pom.xml @@ -26,6 +26,7 @@ <version>1.4-M2-SNAPSHOT</version> </parent> <artifactId>archiva-repository-admin-api</artifactId> + <packaging>bundle</packaging> <name>Archiva Base :: Repository Admin Api</name> <dependencies> <dependency> @@ -83,6 +84,26 @@ <build> <plugins> <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.apache.archiva.repository.admin.api</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.admin.model*;version=${project.version} + </Export-Package> + <Import-Package> + javax.xml.bind.annotation, + org.apache.commons.collections;version="[3.2,4)", + org.apache.commons.lang;version="[2.4,3)", + org.codehaus.plexus.redback.users, + org.apache.maven.index.context;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> |