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 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
    • Number of attachments :
      0

      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

        Hide
        Stéphane 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
        Stéphane 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))
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: