maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MWAR-230) archive configuration ignored for unpacked war
Date Thu, 12 Aug 2010 11:23:32 GMT

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

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

My finalName is 'rex-ws'. After the build is complete, with the configuration I posted above,
I have:

# target/rex-ws.war
# target/rex-ws

The second is an unpacked version of the first, even though I don't configure the 'unpacked'
goal anyplace.

I looked at :manifest. It seems to have the job of delivering a manifest to the source directory.

I suppose I could redirect it to target/rex-ws and see what I get.


> 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

        

Mime
View raw message