[
http://jira.codehaus.org/browse/MJAR-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253245#action_253245
]
Rolf Schumacher commented on MJAR-141:
--------------------------------------
ok, found a solution:
do not use the key=name, instead use a concept called "section" (for what ever):
rewriting the code did the trick:
{code:xml}
<manifestSections>
<manifestSection>
<Name>font/BOMBLOGO.TTF</Name>
<manifestEntries>
<Content-Type>application/x-font</Content-Type>
</manifestEntries>
</manifestSection>
</manifestSections>
{code}
> manifestEntry seems not to work correctly
> -----------------------------------------
>
> Key: MJAR-141
> URL: http://jira.codehaus.org/browse/MJAR-141
> Project: Maven 2.x Jar Plugin
> Issue Type: Bug
> Affects Versions: 2.3.1
> Environment: linux 32 bit, Eclipse 3.5
> Reporter: Rolf Schumacher
> Priority: Blocker
> Attachments: pom.xml
>
>
> using in pom.xml the maven-jar-plugin ...
> {{<manifestEntries><Name>xx</Name><Content-Type>yy</Content-Type></manifestEntries>}}
> breaks the generation of MANIFEST.MF while
> {{<manifestEntries><key>value</key></manifestEntries>}} works as expected.
> attached you find the complete pom.xml
--
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