You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/04/09 20:03:26 UTC

[archiva-redback-components-spring-apacheds] 11/35: [MRM-1651] Improve OSGi statements by defining version ranges

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-apacheds.git

commit 19621a7e2e1e355115ca65ab52cb5bcab113bcaf
Author: Jean-Baptiste Onofre <jb...@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 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index 2bda515..f2955a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,6 +129,18 @@
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            <Export-Package>
+              org.apache.archiva.redback.components.apacheds;version=${project.version};-split-package:=merge-first
+            </Export-Package>
+            <Import-Package>
+              javax.naming*,
+              org.apache.directory.server*;version="[1.5,2)",
+              org.slf4j;resolution:=optional
+            </Import-Package>
+          </instructions>
+        </configuration>
       </plugin>
     </plugins>
   </build>

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