From b435c519de1e0695e9bb261d4e2df4c3a0ffe0e3 Mon Sep 17 00:00:00 2001 From: Nina Doschek Date: Thu, 7 May 2026 09:24:21 +0000 Subject: [PATCH] Fix dash-licenses JAR download URL for Nexus 3.x The old Nexus 2.x URL (service/local/artifact/maven/redirect) no longer works following the upgrade of repo.eclipse.org to Nexus 3.x. Update to the new Nexus 3.x REST API endpoint. Part of https://github.com/eclipse-dash/nodejs-wrapper/issues/7 --- src/dash-licenses-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dash-licenses-wrapper.js b/src/dash-licenses-wrapper.js index edc4d14..8e29094 100755 --- a/src/dash-licenses-wrapper.js +++ b/src/dash-licenses-wrapper.js @@ -26,7 +26,7 @@ const regExpReplacer = (key, value) => { return value; }; const dashLicensesJar = path.resolve(__dirname, '..', 'download/dash-licenses.jar'); -const dashLicensesDownloadUrl = 'https://repo.eclipse.org/service/local/artifact/maven/redirect?r=dash-licenses&g=org.eclipse.dash&a=org.eclipse.dash.licenses&v=LATEST'; +const dashLicensesDownloadUrl = 'https://repo.eclipse.org/service/rest/v1/search/assets/download?sort=version&repository=dash-maven2-releases&maven.groupId=org.eclipse.dash&maven.artifactId=org.eclipse.dash.licenses&maven.extension=jar'; const dashLicensesInternalError = 127; const unsupportedCLIDefault = "Unsupported CLI arg";