You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2020/11/26 21:51:12 UTC

[sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests] branch master updated: SLING-9944 Bundle configurations and reference via classpath protocol

This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-launchpad-oak-tar-integration-tests.git


The following commit(s) were added to refs/heads/master by this push:
     new 245c977  SLING-9944 Bundle configurations and reference via classpath protocol
245c977 is described below

commit 245c97738879f30bd2da006176310d761bf32fda
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Nov 26 22:49:27 2020 +0100

    SLING-9944 Bundle configurations and reference via classpath protocol
---
 pom.xml                                                            | 7 +++++++
 .../tests/configuration/SlingQuickstartOakTarConfiguration.java    | 1 +
 2 files changed, 8 insertions(+)

diff --git a/pom.xml b/pom.xml
index 73aa754..a9e0c12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,6 +93,13 @@
       <version>3.5.0</version>
       <scope>provided</scope>
     </dependency>
+    <!-- Pax -->
+    <dependency>
+      <groupId>org.ops4j.pax.url</groupId>
+      <artifactId>pax-url-classpath</artifactId>
+      <version>2.6.3</version>
+      <scope>test</scope>
+    </dependency>
     <!-- logging -->
     <dependency>
       <groupId>org.slf4j</groupId>
diff --git a/src/test/java/org/apache/sling/karaf/tests/configuration/SlingQuickstartOakTarConfiguration.java b/src/test/java/org/apache/sling/karaf/tests/configuration/SlingQuickstartOakTarConfiguration.java
index 440a338..dc84dfe 100644
--- a/src/test/java/org/apache/sling/karaf/tests/configuration/SlingQuickstartOakTarConfiguration.java
+++ b/src/test/java/org/apache/sling/karaf/tests/configuration/SlingQuickstartOakTarConfiguration.java
@@ -64,6 +64,7 @@ public class SlingQuickstartOakTarConfiguration extends KarafTestSupport {
                 "sling-scripting-htl"
             ),
             addFelixHttpFeature(),
+            mavenBundle().groupId("org.ops4j.pax.url").artifactId("pax-url-classpath").versionAsInProject(),
             // test support
             mavenBundle().groupId("org.apache.sling").artifactId("org.apache.sling.junit.core").versionAsInProject(),
             mavenBundle().groupId("org.apache.sling").artifactId("org.apache.sling.junit.remote").versionAsInProject(),