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

unpacked assemblies render different results when enumerating dependencies vs. using wildcards

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      mvn 2.0.6, jdk 1.4.2

      Description

      When using wildcards for assemblies which unpack jars, the contents of META-INF of the unpacked jars do not end up in the final JAR. This breaks systems which rely on the contents of the META-INF directory, e.g. Mule.

      I have attached a pom and two assemblies, one using wildcards and one enumerating all the dependencies. Run the assembly plugin on both descriptors and compare the resulting jars.

        Attachments

        1. pom.xml
          0.9 kB
        2. assembly.xml
          0.5 kB
        3. assembly-wildcard.xml
          0.5 kB

          Activity

            People

            • Assignee:
              jdcasey John Dennis Casey
              Reporter:
              dirk@xanthippe.ping.de Dirk Olmes
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: