[ http://jira.codehaus.org/browse/MJAR-57?page=comments#action_74085 ] 
            
Bugittaa Pahasti commented on MJAR-57:
--------------------------------------

The solution suggested by Brett does work:

<configuration>
   <archive>
       <manifest>
           <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
           
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
        </manifest>
   </archive>
</configuration>

So this seems to be only documentation issue.


> Specification and Implementation details missing from manifest
> --------------------------------------------------------------
>
>                 Key: MJAR-57
>                 URL: http://jira.codehaus.org/browse/MJAR-57
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Wendy Smoak
>
> The manifest customization page claims that Specification and Implementation 
> details will be included in the jar file manifest by default:
>    
> http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html
> This does not happen, the default manifest contains only
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: wsmoak
> Build-Jdk: 1.5.0_05
> On the user list, the following configuration was suggested, but it does not 
> produce any additional entries in the manifest.
>   <configuration>
>     <manifest>
>       <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
>       <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
>     </manifest>
>   </configuration>

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