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:50:57 UTC

[sling-org-apache-sling-karaf-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-integration-tests.git


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

commit 8eaa8de5421ead1bcaff1da73e93b37b2f6e3c73
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Nov 26 22:48:58 2020 +0100

    SLING-9944 Bundle configurations and reference via classpath protocol
---
 pom.xml                                                            | 6 ++++++
 src/main/java/org/apache/sling/karaf/testing/KarafTestSupport.java | 1 +
 2 files changed, 7 insertions(+)

diff --git a/pom.xml b/pom.xml
index 55f1a53..37bf6bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,6 +126,12 @@
     </dependency>
     <dependency>
       <groupId>org.apache.sling</groupId>
+      <artifactId>org.apache.sling.karaf-configs</artifactId>
+      <version>0.1.1-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.sling</groupId>
       <artifactId>org.apache.sling.karaf-features</artifactId>
       <version>0.1.1-SNAPSHOT</version>
       <type>xml</type>
diff --git a/src/main/java/org/apache/sling/karaf/testing/KarafTestSupport.java b/src/main/java/org/apache/sling/karaf/testing/KarafTestSupport.java
index d55e554..2f99729 100644
--- a/src/main/java/org/apache/sling/karaf/testing/KarafTestSupport.java
+++ b/src/main/java/org/apache/sling/karaf/testing/KarafTestSupport.java
@@ -148,6 +148,7 @@ public abstract class KarafTestSupport {
             editConfigurationFilePut("etc/org.apache.karaf.management.cfg", "rmiServerPort", Integer.toString(rmiServerPort)),
             editConfigurationFilePut("etc/org.apache.karaf.shell.cfg", "sshPort", Integer.toString(sshPort)),
             editConfigurationFilePut("etc/org.apache.felix.http.cfg", "org.osgi.service.http.port", Integer.toString(httpPort)),
+            mavenBundle().groupId("org.apache.sling").artifactId("org.apache.sling.karaf-configs").versionAsInProject(),
             mavenBundle().groupId("org.ops4j.pax.tinybundles").artifactId("tinybundles").versionAsInProject(),
             mavenBundle().groupId("biz.aQute.bnd").artifactId("biz.aQute.bndlib").versionAsInProject(),
             karafTestSupportBundle()