You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2015/02/17 13:42:26 UTC
[17/50] [abbrv] jena git commit: Use forked configuration to avoid
classpath leakage
Use forked configuration to avoid classpath leakage
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/08229262
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/08229262
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/08229262
Branch: refs/heads/eliminate-assignments
Commit: 082292628552099b730abd7e183a90eb8c4dbb31
Parents: 778adac
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue Feb 3 00:09:53 2015 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Mon Feb 9 10:03:55 2015 +0000
----------------------------------------------------------------------
apache-jena-osgi/jena-osgi-test/pom.xml | 4 +++-
.../src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java | 5 +++++
2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/08229262/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 2dc1214..4af90b7 100644
--- a/apache-jena-osgi/jena-osgi-test/pom.xml
+++ b/apache-jena-osgi/jena-osgi-test/pom.xml
@@ -52,11 +52,13 @@
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
- <artifactId>pax-exam-container-native</artifactId>
+ <!-- One of: -forked -native -paxrunner -->
+ <artifactId>pax-exam-container-forked</artifactId>
<version>${exam.version}</version>
<scope>test</scope>
</dependency>
+
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
http://git-wip-us.apache.org/repos/asf/jena/blob/08229262/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
----------------------------------------------------------------------
diff --git a/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java b/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
index 3d93bf1..324463d 100644
--- a/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
+++ b/apache-jena-osgi/jena-osgi-test/src/test/java/org/apache/jena/osgi/test/JenaOSGITest.java
@@ -76,6 +76,11 @@ public class JenaOSGITest {
@Configuration
public Option[] config() {
return options(
+ bootDelegationPackages("sun.*",
+ "com.sun.*",
+ "java.*",
+ "javax.*",
+ "javax.net.ssl"),
mavenBundle("org.apache.jena", "jena-osgi"),
junitBundles());
}