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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-1
    • 2.2
    • None
    • None
    • 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. assembly-wildcard.xml
          0.5 kB
        2. assembly.xml
          0.5 kB
        3. pom.xml
          0.9 kB

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: