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

[Regression] resolveAlways does not force dependency resolution in Maven 3.0.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.4, 3.0.5, 3.1.0, 3.1.1, 3.2.1, 3.2.2
    • 3.2.5
    • None

    Description

      Using Maven 3.0.4, artifacts can only be resolved a single time during the build lifecycle using the Maven 2.x dependency resolution API. Using resolver.resolveAlways() should force re-resolution of the artifact, however if the artifact was already resolved once during the build, then it will not be re-resolved even when calling resolveAlways().

      This works as expected in Maven 3.0.0-3.0.3, and the artifact is re-resolved.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pgier Paul Gier
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: