Skip to content

Commit db3b3d8

Browse files
authored
Relocate hazelcast-remote-controller [DI-639] (#1325)
In hazelcast/hazelcast-remote-controller#75, `hazelcast-remote-controller` is deployed to a different repository to address build issues. Update the paths to suit. Also: - updated Maven central URL as per hazelcast/hazelcast-mono#4897 - updated Maven central URL to use `HTTPS`, as `HTTP` is [no longer supported](https://maven.apache.org/docs/3.8.1/release-notes.html). Fixes: [DI-639](https://hazelcast.atlassian.net/browse/DI-639) [DI-639]: https://hazelcast.atlassian.net/browse/DI-639?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent d6edd12 commit db3b3d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/start-rc.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set HAZELCAST_TEST_VERSION=%HZ_VERSION%
88
set HAZELCAST_ENTERPRISE_VERSION=%HZ_VERSION%
99
set HAZELCAST_RC_VERSION=0.8-SNAPSHOT
1010
set SNAPSHOT_REPO=https://oss.sonatype.org/content/repositories/snapshots
11-
set RELEASE_REPO=http://repo1.maven.apache.org/maven2
11+
set RELEASE_REPO=https://repo.maven.apache.org/maven2
1212
set ENTERPRISE_RELEASE_REPO=https://repository.hazelcast.com/release/
1313
set ENTERPRISE_SNAPSHOT_REPO=https://repository.hazelcast.com/snapshot/
1414

@@ -26,7 +26,7 @@ if exist "hazelcast-remote-controller-%HAZELCAST_RC_VERSION%.jar" (
2626
echo "hazelcast-remote-controller-%HAZELCAST_RC_VERSION%.jar already exist, not downloading from maven."
2727
) else (
2828
echo "Downloading: remote-controller jar com.hazelcast:hazelcast-remote-controller:%HAZELCAST_RC_VERSION%"
29-
call mvn -q org.apache.maven.plugins:maven-dependency-plugin:2.10:get -Dtransitive=false -DremoteRepositories=%SNAPSHOT_REPO% -Dartifact=com.hazelcast:hazelcast-remote-controller:%HAZELCAST_RC_VERSION% -Ddest=hazelcast-remote-controller-%HAZELCAST_RC_VERSION%.jar || (
29+
call mvn -q org.apache.maven.plugins:maven-dependency-plugin:2.10:get -Dtransitive=false -DremoteRepositories=%ENTERPRISE_SNAPSHOT_REPO% -Dartifact=com.hazelcast:hazelcast-remote-controller:%HAZELCAST_RC_VERSION% -Ddest=hazelcast-remote-controller-%HAZELCAST_RC_VERSION%.jar || (
3030
echo "Failed download remote-controller jar com.hazelcast:hazelcast-remote-controller:%HAZELCAST_RC_VERSION%"
3131
exit /b 1
3232
)

scripts/start-rc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ HAZELCAST_TEST_VERSION=${HZ_VERSION}
3939
HAZELCAST_ENTERPRISE_VERSION=${HZ_VERSION}
4040
HAZELCAST_RC_VERSION=0.8-SNAPSHOT
4141
SNAPSHOT_REPO="https://oss.sonatype.org/content/repositories/snapshots"
42-
RELEASE_REPO="http://repo1.maven.apache.org/maven2"
42+
RELEASE_REPO="https://repo.maven.apache.org/maven2"
4343
ENTERPRISE_RELEASE_REPO="https://repository.hazelcast.com/release/"
4444
ENTERPRISE_SNAPSHOT_REPO="https://repository.hazelcast.com/snapshot/"
4545

@@ -55,7 +55,7 @@ fi
5555
if [ -f "hazelcast-remote-controller-${HAZELCAST_RC_VERSION}.jar" ]; then
5656
echo "remote controller already exist, not downloading from maven."
5757
else
58-
downloadFromMaven ${SNAPSHOT_REPO} "com.hazelcast:hazelcast-remote-controller:${HAZELCAST_RC_VERSION}"
58+
downloadFromMaven ${ENTERPRISE_SNAPSHOT_REPO} "com.hazelcast:hazelcast-remote-controller:${HAZELCAST_RC_VERSION}"
5959
fi
6060

6161
if [ -f "hazelcast-${HAZELCAST_TEST_VERSION}-tests.jar" ]; then

0 commit comments

Comments
 (0)