From aaa209dc457bc80dc65c2fc12107a0a3bdf2b260 Mon Sep 17 00:00:00 2001 From: brusdev Date: Wed, 29 Apr 2020 21:09:53 +0200 Subject: [PATCH] ARTEMIS-2744 Fix karaf mvn repositories for ArtemisFeatureTest Use https Maven Central URLs to fix ArtemisFeatureTest. --- .../artemis/tests/integration/karaf/ArtemisFeatureTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java index 16d8786cf0..c96083a43f 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java @@ -117,6 +117,8 @@ public class ArtemisFeatureTest extends Assert { Option[] options = new Option[]{karafDistributionConfiguration().frameworkUrl(maven().groupId("org.apache.karaf").artifactId("apache-karaf").type("tar.gz").versionAsInProject()).unpackDirectory(new File("target/paxexam/unpack/")), KarafDistributionOption.keepRuntimeFolder(), logLevel(LogLevelOption.LogLevel.INFO), editConfigurationFilePut("etc/config.properties", "karaf.startlevel.bundle", "50"), + // [KARAF-6600] Use https URL for Maven Central + editConfigurationFilePut("etc/org.ops4j.pax.url.mvn.cfg", "org.ops4j.pax.url.mvn.repositories", "https://repo1.maven.org/maven2@id=central, https://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases"), // uncomment this to debug it. // debugConfiguration("5005", true), features(getArtemisMQKarafFeatureUrl(), f.toArray(new String[f.size()]))};