spring-utils is now a bundle
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1325962 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 396c2f1..bfd3a2e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,7 @@
<version>2.0-SNAPSHOT</version>
<name>Spring Utils Goodies</name>
<description>Contains some spring goodies.</description>
+ <packaging>bundle</packaging>
<url>http://archiva.apache.org/redback/components/${project.artifactId}</url>
@@ -121,12 +122,37 @@
</dependencies>
- <developers>
- <developer>
- <email>olamy@apache.org</email>
- <name>Olivier Lamy</name>
- </developer>
- </developers>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>org.apache.archiva.common.plexusbridge</Bundle-SymbolicName>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.apache.archiva.redback.components.springutils;;version=${project.version},
+ org.apache.archiva.redback.components.springutils.plexusshim;version=${project.version}
+ </Export-Package>
+ <Import-Package>
+ javax.inject,
+ org.codehaus.plexus,
+ org.codehaus.plexus.classworlds,
+ org.codehaus.plexus.classworlds.realm,
+ org.codehaus.plexus.component.repository.exception,
+ org.springframework.stereotype,
+ org.apache.commons.lang,
+ org.springframework.beans.factory.support,
+ org.springframework.context,
+ org.springframework.web.context.support,
+ org.slf4j;resolution:=optional
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<reporting>
<plugins>