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/14 23:47:57 UTC
[jira] Closed: (MNG-2908) Make it possible to not generate
Implementation-Version for MANIFEST.MF
[ http://jira.codehaus.org/browse/MNG-2908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MNG-2908.
-----------------------------
Assignee: Olivier Lamy
Resolution: Fixed
Looks to be fixed.
But I have added a unit test for this in rev 604323.
> Make it possible to not generate Implementation-Version for MANIFEST.MF
> -----------------------------------------------------------------------
>
> Key: MNG-2908
> URL: http://jira.codehaus.org/browse/MNG-2908
> Project: Maven 2
> Issue Type: Wish
> Components: maven-archiver
> Affects Versions: 2.0.5
> Reporter: HÃ¥vard Wigtil
> Assignee: Olivier Lamy
> Fix For: Reviewed Pending Version Assignment
>
>
> Maven puts "Implementation-Version: ${project.version}" in MANIFEST.MF when it creates an EAR file.
> This line is giving me some problems when I try to deploy the EAR on a BEA Weblogic application server, so I'd like for Maven not to generate this line.
> I didn't find any documented configuration setting for this, so I've looked in the source and found that there is a conditional checking for "addDefaultImplementationEntries" in https://svn.apache.org/repos/asf/maven/shared/tags/maven-archiver-2.2/src/main/java/org/apache/maven/archiver/ManifestConfiguration.java.
> When I try to set this setting from pom.xml with something like this, it fails:
> <artifactId>maven-ear-plugin</artifactId>
> <configuration>
> <archive>
> <addMavenDescriptor>false</addMavenDescriptor>
> <manifest>
> <addDefaultImplementationEntries>false</addDefaultImplementationEntries>
> </manifest>
> </archive>
> Is it possible to skip Implementation-Version in the manifest, and in case, how?
--
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