Explicit Embed-Dependency

and explicit commons-lang3 dependency (OSGi bundle)


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/e8086b43
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/e8086b43
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/e8086b43

Branch: refs/heads/master
Commit: e8086b431db4339a2d782fc7e5134c1b01d96e77
Parents: c5a42a1
Author: Stian Soiland-Reyes <[email protected]>
Authored: Wed Jan 7 12:07:18 2015 +0000
Committer: Stian Soiland-Reyes <[email protected]>
Committed: Mon Jan 12 01:19:16 2015 +0000

----------------------------------------------------------------------
 jena-osgi/pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/e8086b43/jena-osgi/pom.xml
----------------------------------------------------------------------
diff --git a/jena-osgi/pom.xml b/jena-osgi/pom.xml
index eee4efc..e354691 100644
--- a/jena-osgi/pom.xml
+++ b/jena-osgi/pom.xml
@@ -179,7 +179,6 @@
     <dependency>
       <groupId>org.apache.thrift</groupId>
       <artifactId>libthrift</artifactId>
-      <version>${ver.thrift}</version>
       <exclusions>
         <!-- Use httpclient-osgi instead -->
         <exclusion>
@@ -201,6 +200,10 @@
       <artifactId>slf4j-api</artifactId>
       <version>${ver.slf4j}</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-lang3</artifactId>
+    </dependency>
   </dependencies>
 
   <build>
@@ -211,7 +214,7 @@
             <configuration>
                 <instructions>
                     
<Export-Package>com.hp.hpl.jena.*,org.apache.jena.*</Export-Package>
-                    <Embed-Dependency>*;scope=provided</Embed-Dependency>
+                    
<Embed-Dependency>artifactId=jena*,artifactId=xercesImpl,artifactId=xml-apis</Embed-Dependency>
                     <Embed-Transitive>true</Embed-Transitive>
                     
<Import-Package>!sun.io,!org.apache.avalon.framework.logger,!com.ibm.uvm.tools,!com.sun.jdmk.comm,!org.apache.log,*</Import-Package>
                 </instructions>

Reply via email to