Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6857

When a repository we are referring to , in pom.xml has been made down or shut down . The maven is not handling it appropriately

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.6.3
    • None
    • Patch, Important

    Description

      I am working in Maven-Spring Boot Projects .

      I have a list of repositories listed down in my pom.xml and among those one is down/moved permanently(302 /301 status), then Maven is unable to handle it and downloading some corrupted jars from no where and when we try to "mvn install" ,it states error like "error in opening zip file" for that jar .

       

      Steps How we resolved that issue--

      1.Commented out that repository in pom.xml

      2.Removed that corrupted jar from local repository.

      3.mvn -U clean  install

       

      How we are expecting it to be resolved ::

      1. If the repository throws 301/302 , the maven should go to the next available repository listed in pom.xml and should check for this jar .

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            devendra2411 Devendra Tummala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified