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

Non-unique-version snapshots not updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.5
    • None
    • None

    Description

      Test case:

      • let's have a repository with [uniqueVersion]false[/uniqueVersion].
      • let your project download any snapshot dependency (with non-unique version) (like abc-1.0-SNAPSHOT.jar).
      • go to your local repository and change the file content. You can also remove all the metadata.
      • run "mvn -U" on your project
      • you get "[INFO] snapshot abc:abc-1.0-SNAPSHOT: checking for updates from YOUR-REPOSITORY"
      • the abc-1.0-SNAPSHOT.jar in your local repository is NOT updated.

      The same (I think) bug has been reported (and closed) several times before (MNG-1908 etc.) but it still appears in 2.0.5.

      Attachments

        1. dep-update.zip
          1 kB
          Pavel Halas

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              phalas Pavel Halas
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: