Repository navigation
LDEV-6708 fall back to the Lucee Maven repository for Lucee 9 jars that are not on the CDN - #10
Open
michaeloffner wants to merge 1 commit into
Open
michaeloffner wants to merge 1 commit into
michaeloffner wants to merge 1 commit into
Conversation
…at are not on the CDN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Lucee 9 pre-releases are not on cdn.lucee.org (LDEV-6708: they go to GitHub releases and maven.lucee-services.com only), so
luceeVersion: 9.0.0.1487-ALPHA/9.0/all/lightfailed with a 404 on https://cdn.lucee.org/lucee-light-9.0.0.1487-ALPHA.jar. Callers had to download the jar themselves and passluceeJar.For Lucee 9 and newer (file name
lucee-[light-|zero-]9.x.y.z...jar) a failed CDN download is now followed by a download from${luceeMavenUrl}/org/lucee/lucee/<version>/lucee-<version>[-light|-zero].jar(new propertyluceeMavenUrl, default https://maven.lucee-services.com), saved under the same cache file name. Older versions behave as before, the CDN error is not hidden by a Maven attempt.Tested locally with Java 21:
-DluceeVersion=9.0/all/lightand-DluceeVersion=light-9.0.0.1487-ALPHAboth resolve to lucee-light-9.0.0.1487-ALPHA.jar, 404 on the CDN, Maven download, script runs, BUILD SUCCESSFUL.light-7.0.5.41still comes from the CDN.Once this is merged, the extension workflows that download the jar themselves (extension-osgi) can go back to plain
luceeVersion.