This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-utils.git

commit ead8bfb77bfe674efe297d4afbaa324c97ac9c38
Author: Jean-Baptiste Onofre <jbono...@apache.org>
AuthorDate: Fri Aug 3 07:45:35 2012 +0000

    [MRM-1651] Improve OSGi statements by defining version ranges
    
    git-svn-id: 
https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1368818
 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/pom.xml b/pom.xml
index 16e6d81..70d4be7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,6 +129,20 @@
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            <Export-Package>
+              
org.apache.archiva.redback.components.springutils*;version=${project.version};-split-package:=merge-first
+            </Export-Package>
+            <Import-Package>
+              javax.inject;version="[1,2)",
+              org.apache.commons.lang;version="[2.6,3)",
+              org.codehaus.plexus*,
+              org.springframework*;version="[3,4)",
+              org.slf4j;resolution:=optional
+            </Import-Package>
+          </instructions>
+        </configuration>
       </plugin>
     </plugins>
   </build>

-- 
To stop receiving notification emails like this one, please contact
marti...@apache.org.

Reply via email to