Hi all, I'm relatively new to Pax-Exam stuff, but have been using it to test deployment of some resources in a Karaf container. This was working until such time as the recent switch to required SSL for maven central. So I need to switch out any default repositories urls from "http://repo1.maven.org/maven2/" to "https://repo1.maven.org/maven2/".
Currently we are getting the error ----- Gradle Test Run :islandora-karaf:test > Gradle Test Executor 31 > ca.islandora.alpaca.karaf.KarafIT > classMethod FAILED java.lang.RuntimeException: Problem starting container Caused by: java.io.IOException: Error resolving artifact org.apache.karaf:apache-karaf:jar:zip:4.0.6: Could not transfer artifact org.apache.karaf:apache-karaf:jar:zip:4.0.6 from/to central (http://repo1.maven.org/maven2/): Failed to transfer file: http://repo1.maven.org/maven2/org/apache/karaf/apache-karaf/4.0.6/apache-karaf-4.0.6-zip.jar. Return code is: 501 , ReasonPhrase:HTTPS Required. Gradle Test Run :islandora-karaf:test > Gradle Test Executor 31 > ca.islandora.alpaca.karaf.KarafIT > executionError FAILED java.lang.RuntimeException: Container never came up ---- I'm trying to set either the "org.ops4j.pax.url.mvn.repositories" or "org.ops4j.pax.url.mvn.settings" property. I have tried using the CoreOptions.systemProperty and CoreOptions.frameworkProperty but neither is used by the AetherBasedResolver class and instead it seems to fallback to...my maven settings? The only thing that has worked was to add a <mirror></mirror> to my local ~/.m2/settings.xml for central. But this seems very user specific. The test class can be found here https://github.com/Islandora/Alpaca/blob/dev/karaf/src/test/java/ca/islandora/alpaca/karaf/KarafIT.java I feel like there something obvious I am missing here, any help is appreciated. cheers, jared -- -- ------------------ OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/0234ade9-f136-4423-bf2e-60fb9abf5b5d%40googlegroups.com.