Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-680

Allow option to silently skip empty assemblies

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4
    • backlog
    • maven-archiver
    • None

    Description

      I have a use case where many of my projects need to construct an "installation fragment" as a secondary artifact. I would like to define the assembly configuration for this installation fragment on a parent project such that it is automatically inherited by all of my projects. Certain projects though do not have any content that would get picked up by the assembly descriptor, thus assembly:single fails for these projects.

      I would like to add an option to the single mojo such that empty assemblies can be silently skipped instead of failing the build. I have started researching how to accomplish this & would be willing to submit patches.

      Attachments

        1. maven-assembly-plugin.patch
          14 kB
          Romain Roux dit Riche
        2. massembly-680.zip
          2 kB
          Romain Roux dit Riche

        Activity

          People

            Unassigned Unassigned
            carej@us.ibm.com Jeff Care
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: