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-jcr | |
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-jcr')
-rw-r--r-- | archiva-modules/plugins/metadata-store-jcr/pom.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/archiva-modules/plugins/metadata-store-jcr/pom.xml b/archiva-modules/plugins/metadata-store-jcr/pom.xml index 9d325a0b3..0e21e1d09 100644 --- a/archiva-modules/plugins/metadata-store-jcr/pom.xml +++ b/archiva-modules/plugins/metadata-store-jcr/pom.xml @@ -26,6 +26,7 @@ <version>1.4-M2-SNAPSHOT</version> </parent> <artifactId>metadata-store-jcr</artifactId> + <packaging>bundle</packaging> <name>Archiva Core Plugins :: JCR Storage for Metadata</name> <dependencies> <dependency> @@ -80,5 +81,34 @@ <filtering>true</filtering> </testResource> </testResources> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.apache.archiva.metadata.repository.jcr</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.metadata.repository.jcr;version=${project.version};-split-package:=merge-first + </Export-Package> + <Import-Package> + javax.annotation, + javax.inject, + javax.jcr, + javax.jcr.nodetype, + javax.jcr.query, + org.apache.archiva.metadata.model;version=${project.version}, + org.apache.archiva.metadata.repository;version=${project.version}, + org.apache.commons.lang;version="[2.4,3)", + org.apache.jackrabbit.commons;version="[2.3,3)", + org.apache.jackrabbit.core.config;version="[2.3,3)", + org.springframework*;version="[3,4)", + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + </plugins> </build> </project> |