summaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/generic-metadata-support/pom.xml
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-11-29 15:15:40 +0000
committerOlivier Lamy <olamy@apache.org>2011-11-29 15:15:40 +0000
commitd6fa8f7ad8325d4be06cdfcb52f187b915d7d064 (patch)
tree368aeb8700779233c2492b65b8486366ad093750 /archiva-modules/plugins/generic-metadata-support/pom.xml
parent07a70248ebc9bb3d2f06f4dd256fe1b03bb3bd8d (diff)
downloadarchiva-d6fa8f7ad8325d4be06cdfcb52f187b915d7d064.tar.gz
archiva-d6fa8f7ad8325d4be06cdfcb52f187b915d7d064.zip
[MRM-1562]Update to Archiva as OSGi compliant application
turn xmlrpc, some plugins as OSGi bundles. Submitted by Jean Baptiste Onofre. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1207904 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/generic-metadata-support/pom.xml')
-rw-r--r--archiva-modules/plugins/generic-metadata-support/pom.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/archiva-modules/plugins/generic-metadata-support/pom.xml b/archiva-modules/plugins/generic-metadata-support/pom.xml
index bf08bd1c9..980ac88ab 100644
--- a/archiva-modules/plugins/generic-metadata-support/pom.xml
+++ b/archiva-modules/plugins/generic-metadata-support/pom.xml
@@ -25,6 +25,7 @@
<version>1.4-M2-SNAPSHOT</version>
</parent>
<artifactId>generic-metadata-support</artifactId>
+ <packaging>bundle</packaging>
<name>Archiva Core Plugins :: Generic Metadata Support</name>
<dependencies>
<dependency>
@@ -41,4 +42,25 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>org.apache.archiva.metadata.generic</Bundle-SymbolicName>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.apache.archiva.metadata.generic;version=${project.version};-split-package:=merge-first
+ </Export-Package>
+ <Import-Package>
+ org.apache.archiva.metadata.model;version=${project.version},
+ org.springframework*;version="[3,4)"
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>