Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60633

Update maven to 3.6.3 on ATH container

    Details

    • Similar Issues:

      Description

      When running ./ath-container.sh it fails with:

       

      curl: (22) The requested URL returned error: 404 Not Found
      The command '/bin/sh -c curl -ffSLO https://www.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz &&     tar -xvzf apache-maven-3.6.1-bin.tar.gz -C /opt/ &&     mv /opt/apache-maven-* /opt/maven' returned a non-zero code: 22
      ./ath-container.sh: Error 22 on line 13: docker build --build-arg=uid="$uid" --build-arg=gid="$gid" "$DIR/src/main/resources/ath-container" -t "$tag"
      
      

       

       

      The reason is that https://www.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz is no longer available. So any new fresh installation of ATH will fail.

      I will update the URL to use the archive repo:

      https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz

      Although we can use the 3.6.3 binaries, I don't want to take any risk as I have no time to check whether the new version may imply any problem (don't seem so but who knows)

      If someone wants to update and check the 3.6.3 version, I think it is best to use:

      https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz 

      Instead of:

      https://www.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz

      To avoid the same issue in the future.

       

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              mramonleon Ramon Leon
              Reporter:
              mramonleon Ramon Leon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: