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

Can't include unpacked subsets twice (a variant of unpackedSubsetsTwice IT)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.5.2
    • dependencySet
    • None
    • Any

    Description

      This is a variation of unpackedSubsetsTwice IT; the only difference is that we want to unpack the saame dependency twice, into the same folder (with different include/ exclude patterns). The second dependency is skipped with a message:

      [WARNING] Archive: C:\_tmp\dependencySet-unpackedSubsetsTwice\child1\target\child1-1.0-SNAPSHOT.jar has already been add
      ed. Skipping.
      

      The reason for doing this is that you can have multiple dependency set inclusions, each specifying its own fileMode, for example.

      I've modified dependencySet-unpackedSubsetsTwice IT slightly, but it's pretty simple to reproduce.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            dawid.weiss Dawid Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: