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

Non-unique-version snapshots not updated

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.5
    • Fix Version/s: None
    • Labels:
      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

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                phalas Pavel Halas
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: