[ 
https://issues.apache.org/jira/browse/LUCENE-9341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089982#comment-17089982
 ] 

Mike Drob commented on LUCENE-9341:
-----------------------------------

Note that according to the maven page, the maven ant tasks component is retired 
(and has been for some time), and we should be using 
http://maven.apache.org/resolver-ant-tasks/ instead. I think that's going to be 
out of scope, given that ant itself should be leaving our build soon.

I think that does indicate that we shouldn't hope for out of the box support 
for https URLs for the remote repositories.

> 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
>            Priority: Major
>
> 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]

Reply via email to