You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2007/01/12 07:40:21 UTC

[jira] Closed: (MASSEMBLY-172) Extension-Name and Specification-Title added to MANIFEST.MF

     [ http://jira.codehaus.org/browse/MASSEMBLY-172?page=all ]

John Casey closed MASSEMBLY-172.
--------------------------------

      Assignee: John Casey
    Resolution: Fixed

should be working now. try using the same override that the jar plugin uses.

> 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
>         Assigned To: John Casey
>            Priority: Minor
>             Fix For: 2.2
>
>
> 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