diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-indexer/pom.xml')
-rw-r--r-- | archiva-modules/archiva-base/archiva-indexer/pom.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-indexer/pom.xml b/archiva-modules/archiva-base/archiva-indexer/pom.xml index 426f6d34e..c589f4e8d 100644 --- a/archiva-modules/archiva-base/archiva-indexer/pom.xml +++ b/archiva-modules/archiva-base/archiva-indexer/pom.xml @@ -26,6 +26,7 @@ </parent> <modelVersion>4.0.0</modelVersion> <artifactId>archiva-indexer</artifactId> + <packaging>bundle</packaging> <name>Archiva Base :: Indexer</name> <dependencies> @@ -163,6 +164,32 @@ </pluginManagement> <plugins> <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.apache.archiva.indexer</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.indexer.*;version=${project.version};-split-package:=merge-first + </Export-Package> + <Import-Package> + javax.annotation, + javax.inject, + com.google.common.io, + org.apache.archiva.admin.model*;version=${project.version}, + org.apache.archiva.common.plexusbridge;version=${project.version}, + org.apache.commons.io;version="[1.4,2)", + org.apache.commons.lang*;version="[2.4,3)", + org.apache.lucene*;version="[3,4)", + org.springframework*;version="[3,4)", + org.apache.maven.index*, + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> |