Maven
  1. Maven
  2. MNG-4005

Throw Validation Error if pom contains a dependency with two different versions.

    Details

    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      Throw a validation error if a pom contains the same dependency with two different versions.

        Issue Links

          Activity

          Show
          Benjamin Bentmann added a comment - See also Precedence of direct dependencies with equal conflict id .
          Hide
          Shane Isbell added a comment -

          Under the current implementation, this could only happen if the profiles is adding the dependency, the project builder itself will delete the second instance.

          Show
          Shane Isbell added a comment - Under the current implementation, this could only happen if the profiles is adding the dependency, the project builder itself will delete the second instance.
          Hide
          Benjamin Bentmann added a comment -

          Fixed in r784241.

          Show
          Benjamin Bentmann added a comment - Fixed in r784241 .
          Hide
          Benjamin Bentmann added a comment -

          Relaxed to warning in r928485 to ease migration from 2.x.

          Show
          Benjamin Bentmann added a comment - Relaxed to warning in r928485 to ease migration from 2.x.
          Hide
          Brett Porter added a comment -

          closing for alpha-3 again to preserve integrity of release notes. See MNG-4005 for the issue to increase the level to error from the current warning.

          Show
          Brett Porter added a comment - closing for alpha-3 again to preserve integrity of release notes. See MNG-4005 for the issue to increase the level to error from the current warning.

            People

            • Assignee:
              Unassigned
              Reporter:
              Shane Isbell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: