diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-policies/pom.xml')
-rw-r--r-- | archiva-modules/archiva-base/archiva-policies/pom.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-policies/pom.xml b/archiva-modules/archiva-base/archiva-policies/pom.xml index e8600a0e4..fc6efe90e 100644 --- a/archiva-modules/archiva-base/archiva-policies/pom.xml +++ b/archiva-modules/archiva-base/archiva-policies/pom.xml @@ -26,6 +26,7 @@ </parent> <modelVersion>4.0.0</modelVersion> <artifactId>archiva-policies</artifactId> + <packaging>bundle</packaging> <name>Archiva Base :: Policies</name> <dependencies> <dependency> @@ -107,6 +108,28 @@ </systemPropertyVariables> </configuration> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.apache.archiva.policies</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.policies*;version=${project.version} + </Export-Package> + <Import-Package> + javax.inject, + org.apache.archiva.checksum;version=${project.version}, + org.apache.archiva.common*;version=${project.version}, + org.apache.commons.lang;version="[2,3)", + org.springframework.stereotype;version="[3,4)", + org.codehaus.plexus.cache, + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> </plugins> <pluginManagement> <plugins> |