Mike Drob created LUCENE-9341:
---------------------------------
Summary: maven validation job fails needing https
Key: LUCENE-9341
URL: https://issues.apache.org/jira/browse/LUCENE-9341
Project: Lucene - Core
Issue Type: Bug
Components: general/build
Reporter: Mike Drob
https://builds.apache.org/job/Lucene-Solr-Maven-master/2885
{noformat}
-validate-maven-dependencies:
[artifact:dependencies] Downloading: com/ibm/icu/icu4j/62.2/icu4j-62.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/com/ibm/icu/icu4j/62.2/icu4j-62.2.pom
[artifact:dependencies] [WARNING] Unable to get resource
'com.ibm.icu:icu4j:pom:62.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/com/ibm/icu/icu4j/62.2/icu4j-62.2.pom
[artifact:dependencies] Downloading: com/ibm/icu/icu4j/62.2/icu4j-62.2.jar 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/com/ibm/icu/icu4j/62.2/icu4j-62.2.jar
[artifact:dependencies] [WARNING] Unable to get resource
'com.ibm.icu:icu4j:jar:62.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/com/ibm/icu/icu4j/62.2/icu4j-62.2.jar
[artifact:dependencies] An error has occurred while processing the Maven
artifact tasks.
[artifact:dependencies] Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Missing:
[artifact:dependencies] ----------
[artifact:dependencies] 1) com.ibm.icu:icu4j:jar:62.2
[artifact:dependencies]
[artifact:dependencies] Try downloading the file manually from the project
website.
[artifact:dependencies]
[artifact:dependencies] Then, install it using the command:
[artifact:dependencies] mvn install:install-file -DgroupId=com.ibm.icu
-DartifactId=icu4j -Dversion=62.2 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies] Alternatively, if you host your own repository you
can deploy the file there:
[artifact:dependencies] mvn deploy:deploy-file -DgroupId=com.ibm.icu
-DartifactId=icu4j -Dversion=62.2 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1)
org.apache.lucene:lucene-analyzers-icu:jar:9.0.0-SNAPSHOT
[artifact:dependencies] 2) com.ibm.icu:icu4j:jar:62.2
[artifact:dependencies]
[artifact:dependencies] ----------
[artifact:dependencies] 1 required artifact is missing.
[artifact:dependencies]
[artifact:dependencies] for artifact:
[artifact:dependencies]
org.apache.lucene:lucene-analyzers-icu:jar:9.0.0-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies] central (http://repo1.maven.org/maven2),
[artifact:dependencies] Nexus (http://repository.apache.org/snapshots)
[artifact:dependencies]
[artifact:dependencies]
{noformat}
Verified manually that the https version of that file exists.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]