Skip to content

Commit

Permalink
CXF-8701: fixing test failure for locally build snapshots in features
Browse files Browse the repository at this point in the history
Signed-off-by: Raymond Augé <[email protected]>
  • Loading branch information
rotty3000 committed May 11, 2022
1 parent bc8fd22 commit e15601a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.OptionUtils;
import org.ops4j.pax.exam.karaf.container.internal.JavaVersionUtil;
import org.ops4j.pax.exam.karaf.options.KarafDistributionOption;
import org.ops4j.pax.exam.options.extra.VMOption;
import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
import org.ops4j.pax.exam.spi.reactors.PerClass;
Expand Down Expand Up @@ -61,8 +62,10 @@ public Option[] getConfig() {
"org.osgi.service.http.port", port),
when(!localRepository.isEmpty())
.useOptions(systemProperty("org.ops4j.pax.url.mvn.localRepository").value(localRepository)),
when(!localRepository.isEmpty())
.useOptions(systemProperty("org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote").value("true")),
//DO NOT COMMIT WITH THIS LINE ENABLED!!!
//KarafDistributionOption.keepRuntimeFolder(),
KarafDistributionOption.keepRuntimeFolder(),
//KarafDistributionOption.debugConfiguration(), // nor this
//KarafDistributionOption.logLevel(LogLevelOption.LogLevel.INFO),

Expand Down

0 comments on commit e15601a

Please sign in to comment.