diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-scanner/pom.xml')
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-scanner/pom.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml index 330e95b9e..a6f4621d4 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml @@ -26,6 +26,7 @@ <version>1.4-M2-SNAPSHOT</version> </parent> <artifactId>archiva-repository-scanner</artifactId> + <packaging>bundle</packaging> <name>Archiva Base :: Repository Scanner</name> <dependencies> <dependency> @@ -59,6 +60,33 @@ </dependency> </dependencies> <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.apache.archiva.repository.scanner</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.repository.scanner*;version=${project.version} + </Export-Package> + <Import-Package> + javax.inject, + org.apache.archiva.admin.model*;version=${project.version}, + org.apache.archiva.common*;version=${project.version}, + org.apache.archiva.configuration;version=${project.version}, + org.apache.archiva.consumers*;version=${project.version}, + org.apache.commons.collections*;version="[3.2,4)", + org.apache.commons.lang;version="[2.4,3)", + org.springframework*;version="[3,4)", + org.codehaus.plexus.util, + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + </plugins> <pluginManagement> <plugins> <plugin> |