diff options
author | Olivier Lamy <olamy@apache.org> | 2011-11-29 15:15:40 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-11-29 15:15:40 +0000 |
commit | d6fa8f7ad8325d4be06cdfcb52f187b915d7d064 (patch) | |
tree | 368aeb8700779233c2492b65b8486366ad093750 /archiva-modules/plugins/metadata-store-file | |
parent | 07a70248ebc9bb3d2f06f4dd256fe1b03bb3bd8d (diff) | |
download | archiva-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/metadata-store-file')
-rw-r--r-- | archiva-modules/plugins/metadata-store-file/pom.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/archiva-modules/plugins/metadata-store-file/pom.xml b/archiva-modules/plugins/metadata-store-file/pom.xml index b008bdf18..e818532c8 100644 --- a/archiva-modules/plugins/metadata-store-file/pom.xml +++ b/archiva-modules/plugins/metadata-store-file/pom.xml @@ -25,6 +25,7 @@ <version>1.4-M2-SNAPSHOT</version> </parent> <artifactId>metadata-store-file</artifactId> + <packaging>bundle</packaging> <name>Archiva Core Plugins :: File System Backed Metadata Repository</name> <dependencies> <dependency> @@ -70,4 +71,32 @@ <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.repository.file</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.metadata.repository.file;version=${project.version};-split-package:=merge-first + </Export-Package> + <Import-Package> + javax.annotation, + javax.inject, + 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.commons.io;version="[1.4,2)", + org.apache.commons.lang;version="[2.4,3)", + org.springframework*;version="[3,4)", + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + </plugins> + </build> </project> |