Maven
  1. Maven
  2. MNG-5135

Regression: in some cases aggregator mojo is unable to resolve dependencies with custom packaging

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.0.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Maven 3.0.3

      Description

      As described in SONAR-2626 : aggregator mojo, which requires dependency resolution (like "sonar:sonar" or "javadoc:aggregate-jar") is unable to resolve dependencies, when executed from command-line and build extension with custom packaging declared in sub-module, but not in parent. Declaration of extension in parent allows to workaround problem as well as downgrade to Maven 2.2.1 and execution of "mvn validate sonar:sonar".

        Activity

        Evgeny Mandrikov created issue -
        Evgeny Mandrikov made changes -
        Field Original Value New Value
        Link This issue is depended upon by SONAR-2626 [ SONAR-2626 ]
        Evgeny Mandrikov made changes -
        Description As described in SONAR-2626 : aggregator mojo, which requires dependency resolution (like "sonar:sonar" or "javadoc:aggregate-jar") is unable to resolve dependencies, when executed from command-line and build extension with custom packaging declared in sub-module, but not in parent. Declaration of extension in parent allows to workaround problem as well as downgrade to Maven 2.2.1 and execution of "mvn verify sonar:sonar". As described in SONAR-2626 : aggregator mojo, which requires dependency resolution (like "sonar:sonar" or "javadoc:aggregate-jar") is unable to resolve dependencies, when executed from command-line and build extension with custom packaging declared in sub-module, but not in parent. Declaration of extension in parent allows to workaround problem as well as downgrade to Maven 2.2.1 and execution of "mvn validate sonar:sonar".
        Hide
        Benjamin Bentmann added a comment -

        Fixed in r1151424.

        Show
        Benjamin Bentmann added a comment - Fixed in r1151424 .
        Benjamin Bentmann made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.0.4 [ 17215 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Hide
        Evgeny Mandrikov added a comment -

        Benjamin, thank you! BTW, is there any plans for release of 3.0.4?

        Show
        Evgeny Mandrikov added a comment - Benjamin, thank you! BTW, is there any plans for release of 3.0.4?
        Hide
        Christian Pesch added a comment -

        Interesting question. I've found a post from April:
        http://maven.40175.n5.nabble.com/3-0-4-release-td4311795.html

        Show
        Christian Pesch added a comment - Interesting question. I've found a post from April: http://maven.40175.n5.nabble.com/3-0-4-release-td4311795.html
        Evgeny Mandrikov made changes -
        Link This issue is related to SONARPLUGINS-991 [ SONARPLUGINS-991 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12715367 ] Default workflow, editable Closed status [ 12754856 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12951571 ] Default workflow, editable Closed status [ 12987871 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        6d 14h 23m 1 Benjamin Bentmann 27/Jul/11 05:49

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development