Maven Assembly Plugin
  1. Maven Assembly Plugin
  2. MASSEMBLY-197

2.2-beta-1 regression, project artifact no longer included in

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-1
    • Fix Version/s: 2.2-beta-2
    • Component/s: None
    • Labels:
      None

      Description

      In 2.1, <dependencySet> included the project artifact itself - i.e., all the jars actually needed to execute the project.
      In 2.2-beta-1, <dependencySet> is omitting the project artifact, so that assemblies that functioned correctly when built with 2.1, fail to execute when built with 2.2-beta-1.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        68d 7h 22m 1 John Casey 22/Jun/07 19:24
        Mark Thomas made changes -
        Workflow jira [ 12954716 ] Default workflow, editable Closed status [ 12992093 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:33:31 UTC 2015 [ 1428273211083 ]
        Mark Thomas made changes -
        Workflow jira [ 12717150 ] Default workflow, editable Closed status [ 12760893 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:09:00 UTC 2015 [ 1428224940639 ]
        John Casey made changes -
        Fix Version/s 2.2-beta-2 [ 14027 ]
        Fix Version/s 2.2-beta-3 [ 13507 ]
        John Casey made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        John Casey added a comment -

        I've added two new flags to the dependencySet: useProjectArtifact and useProjectAttachments. By default, they are true and false, respectively. Enabling these flags makes them subject to filtering on includes/excludes, with the default action to include them (again, only when they are enabled...).

        I'm running a deploy build with integration tests, then I'll commit these changes. Shouldn't take longer than 10 mins.

        Show
        John Casey added a comment - I've added two new flags to the dependencySet: useProjectArtifact and useProjectAttachments. By default, they are true and false, respectively. Enabling these flags makes them subject to filtering on includes/excludes, with the default action to include them (again, only when they are enabled...). I'm running a deploy build with integration tests, then I'll commit these changes. Shouldn't take longer than 10 mins.
        John Casey made changes -
        Assignee John Casey [ jdcasey ]
        Description In 2.1, <dependencySet> included the project artifact itself - i.e., all the jars actually needed to execute the project.

        In 2.2-beta-1, <dependencySet> is omitting the project artifact, so that assemblies that functioned correctly when built with 2.1, fail to execute when built with 2.2-beta-1.
        In 2.1, <dependencySet> included the project artifact itself - i.e., all the jars actually needed to execute the project.
        In 2.2-beta-1, <dependencySet> is omitting the project artifact, so that assemblies that functioned correctly when built with 2.1, fail to execute when built with 2.2-beta-1.
        Summary 2.2-beta-1 regression, project artifact no longer included in <dependencySet> 2.2-beta-1 regression, project artifact no longer included in
        John Casey made changes -
        Field Original Value New Value
        Fix Version/s 2.2-beta-2 [ 13507 ]
        Hide
        Stephane Nicoll added a comment -

        +1, not sure that the project artifact should be included by default however. We need to define a clear way to define it (with an option to defined optional classified build(s))

        Show
        Stephane Nicoll added a comment - +1, not sure that the project artifact should be included by default however. We need to define a clear way to define it (with an option to defined optional classified build(s))
        Max Bowsher created issue -

          People

          • Assignee:
            John Casey
            Reporter:
            Max Bowsher
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development