You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2010/08/12 03:56:32 UTC

[jira] Commented: (MWAR-230) archive configuration ignored for unpacked war

    [ http://jira.codehaus.org/browse/MWAR-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231728#action_231728 ] 

Benson Margulies commented on MWAR-230:
---------------------------------------

2.1-beta-1 doesn't deliver an unpacked MANIFEST.MF at all. It would be better, in my opinion, if it deliver a correct one.

> archive configuration ignored for unpacked war
> ----------------------------------------------
>
>                 Key: MWAR-230
>                 URL: http://jira.codehaus.org/browse/MWAR-230
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1-alpha-2
>            Reporter: Benson Margulies
>
> I have added configuration information to my POM to add an entry to my WAR's manifest.
> And, indeed, it appears correctly in the manifest in the .war file.
> However, there is also an unpacked war that is delivered by default. It also has a manifest, and that manifest does not include my extra entry.
> Since all of this results from the default execution from <packaging>war</packaging> I don't see where else I should have to add this configuration.
> {code}
>  <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-war-plugin</artifactId>
>     <configuration>
>      <archive>
>       <manifest>
>        <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
>       </manifest>
>       <manifestEntries>
>        <Implementation-Build>${buildNumber}</Implementation-Build>
>       </manifestEntries>
>      </archive>
>      <overlays>
>       <overlay>
>        <groupId>com.basistech.jug</groupId>
>        <artifactId>gate-home</artifactId>
>        <classifier>gate-home</classifier>
>        <type>zip</type>
>        <targetPath>WEB-INF</targetPath>
>       </overlay>
>      </overlays>
>     </configuration>
>    </plugin>
> {code}

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