aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-modules/archiva-base/archiva-artifact-converter/pom.xml')
-rw-r--r--archiva-modules/archiva-base/archiva-artifact-converter/pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml b/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml
index 345cc7832..5eff81f01 100644
--- a/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml
+++ b/archiva-modules/archiva-base/archiva-artifact-converter/pom.xml
@@ -26,6 +26,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>archiva-artifact-converter</artifactId>
+ <packaging>bundle</packaging>
<name>Archiva Artifact Converter</name>
<description>Converts between Legacy and Modern Layout Artifacts.</description>
<dependencies>
@@ -83,6 +84,31 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>org.apache.archiva.artifact.converter</Bundle-SymbolicName>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.apache.archiva.converter.artifact*;version=${project.version};-split-package:=merge-first
+ </Export-Package>
+ <Import-Package>
+ javax.annotation,
+ javax.inject,
+ org.apache.archiva.common.plexusbridge;version=${project.version},
+ org.apache.archiva.transaction;version=${project.version},
+ org.apache.commons.io;version="[1.4,2)",
+ org.springframework*;version="[3,4)",
+ org.apache.maven.artifact*,
+ org.apache.maven.model*,
+ org.codehaus.plexus.digest,
+ org.codehaus.plexus.util*
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>