diff --git a/scripts/download-rc.js b/scripts/download-rc.js index c1fab6227..3d5770c0e 100644 --- a/scripts/download-rc.js +++ b/scripts/download-rc.js @@ -6,7 +6,7 @@ const HAZELCAST_VERSION = HZ_VERSION; const HAZELCAST_ENTERPRISE_VERSION = HZ_VERSION; const HAZELCAST_RC_VERSION = '0.8-SNAPSHOT'; const SNAPSHOT_REPO = 'https://oss.sonatype.org/content/repositories/snapshots'; -const RELEASE_REPO = 'http://repo1.maven.apache.org/maven2'; +const RELEASE_REPO = 'https://repo.maven.apache.org/maven2'; const ENTERPRISE_RELEASE_REPO = 'https://repository.hazelcast.com/release/'; const ENTERPRISE_SNAPSHOT_REPO = 'https://repository.hazelcast.com/snapshot/'; @@ -46,7 +46,7 @@ const downloadRC = () => { '-q', 'org.apache.maven.plugins:maven-dependency-plugin:2.10:get', '-Dtransitive=false', - `-DremoteRepositories=${SNAPSHOT_REPO}`, + `-DremoteRepositories=${ENTERPRISE_SNAPSHOT_REPO}`, `-Dartifact=com.hazelcast:hazelcast-remote-controller:${HAZELCAST_RC_VERSION}`, `-Ddest=hazelcast-remote-controller-${HAZELCAST_RC_VERSION}.jar` ], {