diff options
Diffstat (limited to 'archiva-modules/plugins/problem-reports/pom.xml')
-rw-r--r-- | archiva-modules/plugins/problem-reports/pom.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/archiva-modules/plugins/problem-reports/pom.xml b/archiva-modules/plugins/problem-reports/pom.xml index 284f1e3ea..3ad895ce6 100644 --- a/archiva-modules/plugins/problem-reports/pom.xml +++ b/archiva-modules/plugins/problem-reports/pom.xml @@ -25,6 +25,7 @@ <version>1.4-M2-SNAPSHOT</version> </parent> <artifactId>problem-reports</artifactId> + <packaging>bundle</packaging> <name>Archiva Core Plugins :: Problem Reporting Plugin</name> <dependencies> <dependency> @@ -71,6 +72,35 @@ <build> <plugins> <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.apache.archiva.reports</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.reports*;version=${project.version} + </Export-Package> + <Import-Package> + javax.annotation, + javax.inject, + org.apache.archiva.admin.model.beans;version=${project.version}, + org.apache.archiva.checksum;version=${project.version}, + org.apache.archiva.configuration;version=${project.version}, + org.apache.archiva.metadata.model;version=${project.version}, + org.apache.archiva.metadata.repository;version=${project.version}, + org.apache.archiva.metadata.repository.storage;version=${project.version}, + org.apache.archiva.repository.events;version=${project.version}, + org.apache.archiva.consumers;version=${project.version}, + org.apache.commons.collections;version="[3.2,4)", + org.springframework.*;version="[3,4)", + org.codehaus.plexus.registry, + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> |