Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9341

maven validation job fails needing https

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      https://builds.apache.org/job/Lucene-Solr-Maven-master/2885

      -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] 
      

      Verified manually that the https version of that file exists.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mdrob Mike Drob
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: