Skip to content

Commit e15601a

Browse files
committed
CXF-8701: fixing test failure for locally build snapshots in features
Signed-off-by: Raymond Augé <[email protected]>
1 parent bc8fd22 commit e15601a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

services/sts/systests/sts-itests/src/test/java/org/apache/cxf/systest/sts/itests/BasicSTSIntegrationTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import org.ops4j.pax.exam.Option;
2828
import org.ops4j.pax.exam.OptionUtils;
2929
import org.ops4j.pax.exam.karaf.container.internal.JavaVersionUtil;
30+
import org.ops4j.pax.exam.karaf.options.KarafDistributionOption;
3031
import org.ops4j.pax.exam.options.extra.VMOption;
3132
import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
3233
import org.ops4j.pax.exam.spi.reactors.PerClass;
@@ -61,8 +62,10 @@ public Option[] getConfig() {
6162
"org.osgi.service.http.port", port),
6263
when(!localRepository.isEmpty())
6364
.useOptions(systemProperty("org.ops4j.pax.url.mvn.localRepository").value(localRepository)),
65+
when(!localRepository.isEmpty())
66+
.useOptions(systemProperty("org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote").value("true")),
6467
//DO NOT COMMIT WITH THIS LINE ENABLED!!!
65-
//KarafDistributionOption.keepRuntimeFolder(),
68+
KarafDistributionOption.keepRuntimeFolder(),
6669
//KarafDistributionOption.debugConfiguration(), // nor this
6770
//KarafDistributionOption.logLevel(LogLevelOption.LogLevel.INFO),
6871

0 commit comments

Comments
 (0)