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

                 Key: MASSEMBLY-172
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-172
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Heinrich Nirschl
            Priority: Minor


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>
...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to