JENA-879: PAX dependencies

..according to
https://ops4j1.jira.com/wiki/display/PAXEXAM4/OSGi+Containers

but with slf4j-log4j instead of logback to be license safe.

(logback 0.9.18 or later should be ASF-OK though, as it's
now both LGPL and EPL
http://logback.qos.ch/license.html )


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

Branch: refs/heads/master
Commit: ee787d2c60b88cf3db309a1d11a35c3c35db01a5
Parents: 2cb3899
Author: Stian Soiland-Reyes <[email protected]>
Authored: Mon Feb 2 23:43:26 2015 +0000
Committer: Stian Soiland-Reyes <[email protected]>
Committed: Mon Feb 9 09:57:03 2015 +0000

----------------------------------------------------------------------
 apache-jena-osgi/jena-osgi-test/pom.xml | 51 +++++++++++++++++++++++++---
 1 file changed, 47 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/ee787d2c/apache-jena-osgi/jena-osgi-test/pom.xml
----------------------------------------------------------------------
diff --git a/apache-jena-osgi/jena-osgi-test/pom.xml 
b/apache-jena-osgi/jena-osgi-test/pom.xml
index 0ce0e8f..2dc1214 100644
--- a/apache-jena-osgi/jena-osgi-test/pom.xml
+++ b/apache-jena-osgi/jena-osgi-test/pom.xml
@@ -26,6 +26,11 @@
        <description>Tests for jena-osgi as a bundle</description>
        <packaging>bundle</packaging>
 
+       <properties>
+               <!-- 
https://ops4j1.jira.com/wiki/display/PAXEXAM4/OSGi+Containers -->
+               <exam.version>3.4.0</exam.version>
+               <url.version>1.6.0</url.version>
+       </properties>
 
        <dependencies>
                <dependency>
@@ -41,11 +46,49 @@
                        <scope>compile</scope>
                </dependency>
 
+               <!-- <dependency> <groupId>org.osgi</groupId> 
<artifactId>org.osgi.core</artifactId> 
+                       <version>4.3.1</version> <scope>provided</scope> 
</dependency> -->
+
+
+               <dependency>
+                       <groupId>org.ops4j.pax.exam</groupId>
+                       <artifactId>pax-exam-container-native</artifactId>
+                       <version>${exam.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.ops4j.pax.exam</groupId>
+                       <artifactId>pax-exam-junit4</artifactId>
+                       <version>${exam.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.ops4j.pax.exam</groupId>
+                       <artifactId>pax-exam-link-mvn</artifactId>
+                       <version>${exam.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.ops4j.pax.url</groupId>
+                       <artifactId>pax-url-aether</artifactId>
+                       <version>${url.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.felix</groupId>
+                       <artifactId>org.apache.felix.framework</artifactId>
+                       <version>3.2.2</version>
+                       <scope>test</scope>
+               </dependency>
+
                <dependency>
-                       <groupId>org.osgi</groupId>
-                       <artifactId>org.osgi.core</artifactId>
-                       <version>4.3.1</version>
-                       <scope>provided</scope>
+                       <groupId>org.slf4j</groupId>
+                       <artifactId>slf4j-log4j12</artifactId>
+                       <scope>test</scope>
                </dependency>
        </dependencies>
 

Reply via email to