You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rolf Schumacher (JIRA)" <ji...@codehaus.org> on 2011/01/27 01:07:57 UTC
[jira] Created: (MJAR-141) manifestEntry seems not to work
correctly
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
[jira] Closed: (MJAR-141) manifestEntry seems not to work correctly
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAR-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MJAR-141.
----------------------------------
Resolution: Not A Bug
> 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
[jira] Commented: (MJAR-141) manifestEntry seems not to work
correctly
Posted by "Rolf Schumacher (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Reopened: (MJAR-141) manifestEntry seems not to work
correctly
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAR-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann reopened MJAR-141:
------------------------------------
> 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
[jira] Closed: (MJAR-141) manifestEntry seems not to work correctly
Posted by "Rolf Schumacher (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAR-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rolf Schumacher closed MJAR-141.
--------------------------------
Resolution: Fixed
This was not a bug.
> 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