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:19:31 UTC

[archiva-redback-components-spring-taskqueue] 11/37: [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-taskqueue.git

commit 93c64b0b2bc2e708dffee22c76d548c0bbe2d874
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 6938cec..c3b6de7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,6 +103,18 @@
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <instructions>
+            <Export-Package>
+              org.apache.archiva.redback.components.taskqueue*;version=${project.version};-split-package:=merge-first
+            </Export-Package>
+            <Import-Package>
+              javax.annotation,
+              org.apache.commons.lang;version="[2.6,3)",
+              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.