diff options
author | Olivier Lamy <olamy@apache.org> | 2011-11-22 14:17:04 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-11-22 14:17:04 +0000 |
commit | 9d3a7193810cef52b0edc71cd2dd8f247bce5c96 (patch) | |
tree | 7a8e368987016dca282c0cada5488d74d64b34cd /archiva-modules/archiva-base/archiva-converter | |
parent | 7328b600d5d4d8304c09f2c51d2e1691b104d09b (diff) | |
download | archiva-9d3a7193810cef52b0edc71cd2dd8f247bce5c96.tar.gz archiva-9d3a7193810cef52b0edc71cd2dd8f247bce5c96.zip |
[MRM-1562] Update to Archiva as OSGi compliant application.
Submitted by Jean-Baptiste Onofre.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-converter')
-rw-r--r-- | archiva-modules/archiva-base/archiva-converter/pom.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-converter/pom.xml b/archiva-modules/archiva-base/archiva-converter/pom.xml index 433167e0e..be5162abe 100644 --- a/archiva-modules/archiva-base/archiva-converter/pom.xml +++ b/archiva-modules/archiva-base/archiva-converter/pom.xml @@ -26,6 +26,7 @@ </parent> <modelVersion>4.0.0</modelVersion> <artifactId>archiva-converter</artifactId> + <packaging>bundle</packaging> <name>Archiva Base :: Repository Converter</name> <dependencies> <dependency> @@ -63,6 +64,42 @@ </dependency> </dependencies> <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.apache.archiva.converter</Bundle-SymbolicName> + <Bundle-Version>${project.version}</Bundle-Version> + <Export-Package> + org.apache.archiva.converter*;version=${project.version};-split-package:=merge-first + </Export-Package> + <Import-Package> + javax.annotation, + javax.inject, + org.apache.archiva.admin.model.beans;version=${project.version}, + org.apache.archiva.common.plexusbridge;version=${project.version}, + org.apache.archiva.common.utils;version=${project.version}, + org.apache.archiva.model;version=${project.version}, + org.apache.archiva.consumers;version=${project.version}, + org.apache.archiva.repository;version=${project.version}, + org.apache.archiva.repository.content;version=${project.version}, + org.apache.archiva.repository.layout;version=${project.version}, + org.apache.archiva.repository.scanner;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*, + org.slf4j;resolution:=optional + </Import-Package> + </instructions> + </configuration> + </plugin> + </plugins> <pluginManagement> <plugins> <plugin> |