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

Extension-Name and Specification-Title added to MANIFEST.MF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.2-beta-1
    • None
    • None

    Description

      The assembly plugin (at least when using the predefined descriptor jar-with-dependencies; I did not check others) adds the Extension-Name and Specification-Title attributes to the generated jar. See also MJAR-38 which describes the same problem for the jar plugin.

      Here is the configuration I used:
      ...
      <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <configuration>
      <descriptorRefs>
      <descriptorRef>jar-with-dependencies</descriptorRef>
      </descriptorRefs>
      <archive>
      <manifest>
      <mainClass>
      example.Main
      </mainClass>
      </manifest>
      </archive>
      </configuration>
      </plugin>
      ...

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            nirschl Heinrich Nirschl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: