Issues

Select view

Select search mode

 

build broken with out a existing local maven cache

Fixed

Description

the 5.3 & 6.0 builds are both broken unless you have an existing maven cache
[artifact:dependencies] Transferring 18K from res
[artifact:dependencies] Downloading: org/junit/junit-bom/5.7.2/junit-bom-5.7.2.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/junit/junit-bom/5.7.2/junit-bom-5.7.2.pom
Warning: :dependencies] [WARNING] Unable to get resource 'org.junit:junit-bom:pom:5.7.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/junit/junit-bom/5.7.2/junit-bom-5.7.2.pom
[artifact:dependencies] An error has occurred while processing the Maven artifact tasks.
[artifact:dependencies] Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'commons-io:commons-io:jar': POM 'org.junit:junit-bom' not found in repository: Unable to download the artifact from any repository
[artifact:dependencies]
[artifact:dependencies] org.junit:junit-bom:pom:5.7.2
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies] central (http://repo1.maven.org/maven2),
[artifact:dependencies] apache.snapshots (https://repository.apache.org/snapshots)
[artifact:dependencies]
[artifact:dependencies] for project org.junit:junit-bom
[artifact:dependencies] commons-io:commons-io:jar:2.10.0
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies] central (http://repo1.maven.org/maven2),
[artifact:dependencies] repo (https://raw.githubusercontent.com/lucee/mvn/master/releases),
[artifact:dependencies] snapi (https://oss.sonatype.org/content/repositories/snapshots),
[artifact:dependencies] res (https://oss.sonatype.org/content/repositories/releases/),
[artifact:dependencies] apache.snapshots (http://repository.apache.org/snapshots)
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1) org.lucee:lucee:jar:5.3.9.2-SNAPSHOT
[artifact:dependencies] 2) org.apache.tika:tika-core:jar:1.27
[artifact:dependencies]
[artifact:dependencies]
https://github.com/lucee/Lucee/runs/3425127969?check_suite_focus=true#step:4:258
I added a GHA build without a cache profile to check this on a hunch :slightly_smiling_face:

Environment

None

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 25 August 2021 at 18:41
Updated 20 May 2023 at 11:10
Resolved 20 May 2023 at 11:10

Activity

Show:

Zac Spitzer10 February 2022 at 22:02

try ?

Brad Wood10 February 2022 at 21:36

Is there a workaround for this? I just got bit by this while trying to build Lucee 6.0 to test something on a new PC while traveling. I had to give up after a long time of trying.

Zac Spitzer22 January 2022 at 20:03

it’s trying to download from maven using using http rather than https

Flag notifications