You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2007/12/30 22:35:57 UTC

[jira] Issue Comment Edited: (MJAR-59) Impossible to create empty entries in MANIFEST

    [ http://jira.codehaus.org/browse/MJAR-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_118093 ] 

olamy edited comment on MJAR-59 at 12/30/07 3:34 PM:
------------------------------------------------------------

Regression due to patch for MJAR-38.
svn rev 415208 in maven-archiver (http://fisheye6.cenqua.com/browse/maven/shared/trunk/maven-archiver/src/main/java/org/apache/maven/archiver/MavenArchiver.java?r=415208#l96).
As we have to preserve backward comp, we must restore the capability to have manifest entries with empty value. (MNG-3342)

      was (Author: olamy):
    Regression due to patch for MJAR-38.
svn rev 415208 in maven-archiver (http://fisheye6.cenqua.com/browse/maven/shared/trunk/maven-archiver/src/main/java/org/apache/maven/archiver/MavenArchiver.java?r=415208#l96).
As we have to preserve backward comp, IMHO we can add a new configuration parameter in maven-archiver : isAcceptEmptyManifestEntries (default value false).
This issue can be move to maven-archiver (or clone and link to this one).
Thoughts ?

  
> Impossible to create empty entries in MANIFEST
> ----------------------------------------------
>
>                 Key: MJAR-59
>                 URL: http://jira.codehaus.org/browse/MJAR-59
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Stéphane Veyret
>            Priority: Minor
>
> With the new version of archiver, that allow us to remove pre-defined default entries in MANIFEST, if we specify an empty entry (i.e.
> MyEntry:
> ), instead of adding the entry, the archiver removes an eventually existing one with that name. This means the JAR plugin does not work as before.

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