Maven
  1. Maven
  2. MNG-4005

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

    Details

      Description

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

        Issue Links

          Activity

          Shane Isbell created issue -
          Shane Isbell made changes -
          Field Original Value New Value
          Assignee Shane Isbell [ sisbell ]
          Shane Isbell made changes -
          Fix Version/s 3.0-alpha-2 [ 14430 ]
          Shane Isbell made changes -
          Link This issue is depended upon by MNG-4003 [ MNG-4003 ]
          Show
          Benjamin Bentmann added a comment - See also Precedence of direct dependencies with equal conflict id .
          Shane Isbell made changes -
          Fix Version/s 3.0-alpha-2 [ 14430 ]
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0-alpha-4 [ 14951 ]
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          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.
          Benjamin Bentmann made changes -
          Link This issue relates to MDEP-206 [ MDEP-206 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4193 [ MNG-4193 ]
          Hide
          Benjamin Bentmann added a comment -

          Fixed in r784241.

          Show
          Benjamin Bentmann added a comment - Fixed in r784241 .
          Benjamin Bentmann made changes -
          Fix Version/s 3.0-alpha-4 [ 14951 ]
          Assignee Shane Isbell [ sisbell ] Benjamin Bentmann [ bentmann ]
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-3991 [ MNG-3991 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-2391 [ MNG-2391 ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MNG-2548 [ MNG-2548 ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MNG-3031 [ MNG-3031 ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MNG-2548 [ MNG-2548 ]
          Benjamin Bentmann made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Assignee Benjamin Bentmann [ bentmann ]
          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.
          Benjamin Bentmann made changes -
          Fix Version/s 3.1 [ 15565 ]
          Brett Porter made changes -
          Link This issue is related to MNG-4622 [ MNG-4622 ]
          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.
          Brett Porter made changes -
          Fix Version/s 3.1 [ 15565 ]
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Link This issue relates to MDEP-206 [ MDEP-206 ]
          Mark Thomas made changes -
          Workflow jira [ 12714372 ] Default workflow, editable Closed status [ 12754052 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Link This issue relates to MDEP-206 [ MDEP-206 ]
          Mark Thomas made changes -
          Workflow jira [ 12950950 ] Default workflow, editable Closed status [ 12987193 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          137d 11m 1 Benjamin Bentmann 12/Jun/09 15:14
          Closed Closed Reopened Reopened
          288d 23h 32m 1 Benjamin Bentmann 28/Mar/10 14:47
          Reopened Reopened Closed Closed
          9d 4h 26m 1 Brett Porter 06/Apr/10 19:13

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development