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 2023/07/09 09:19:07 UTC

[sling-org-apache-sling-testing-paxexam] branch master updated: SLING-11941 Support snapshots in Options integration tests

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-testing-paxexam.git


The following commit(s) were added to refs/heads/master by this push:
     new 60d2745  SLING-11941 Support snapshots in Options integration tests
60d2745 is described below

commit 60d2745a569a465b924f24795805478fd6ce84e8
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun Jul 9 11:18:45 2023 +0200

    SLING-11941 Support snapshots in Options integration tests
---
 .../org/apache/sling/testing/paxexam/it/SlingOptionsTestSupport.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/java/org/apache/sling/testing/paxexam/it/SlingOptionsTestSupport.java b/src/test/java/org/apache/sling/testing/paxexam/it/SlingOptionsTestSupport.java
index 69725f6..ac5a049 100644
--- a/src/test/java/org/apache/sling/testing/paxexam/it/SlingOptionsTestSupport.java
+++ b/src/test/java/org/apache/sling/testing/paxexam/it/SlingOptionsTestSupport.java
@@ -30,6 +30,7 @@ import static org.apache.sling.testing.paxexam.SlingOptions.spifly;
 import static org.ops4j.pax.exam.CoreOptions.bundle;
 import static org.ops4j.pax.exam.CoreOptions.composite;
 import static org.ops4j.pax.exam.CoreOptions.keepCaches;
+import static org.ops4j.pax.exam.CoreOptions.repository;
 import static org.ops4j.pax.exam.CoreOptions.systemProperty;
 import static org.ops4j.pax.exam.CoreOptions.when;
 
@@ -46,6 +47,7 @@ public abstract class SlingOptionsTestSupport {
             failOnUnresolvedBundles(),
             keepCaches(),
             localMavenRepo(),
+            repository("https://repository.apache.org/snapshots/").id("apache-snapshots").allowSnapshots(),
             CoreOptions.workingDirectory(workingDirectory()),
             testBundle("bundle.filename"),
             backing(),