You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petr Kozelka (JIRA)" <ji...@codehaus.org> on 2007/06/18 15:02:57 UTC

[jira] Commented: (MWAR-30) I can't build a war-file without a web.xml.

    [ http://jira.codehaus.org/browse/MWAR-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99851 ] 

Petr Kozelka commented on MWAR-30:
----------------------------------

Also when using war overlays, it makes pretty good sense to create a war without web.xml and add this file in an overlay.
I suggest at least to add configuration option allowing WARs without web.xml, defaulting to current behavior.

> I can't build a war-file without a web.xml.
> -------------------------------------------
>
>                 Key: MWAR-30
>                 URL: http://jira.codehaus.org/browse/MWAR-30
>             Project: Maven 2.x War Plugin
>          Issue Type: Improvement
>            Reporter: Christoffer Hammarström
>
> I have a small webapp with a small number of jsps, to overlay on a larger webapp.
> The larger webapp already has a web.xml and the small one doesn't need one.
> I can't build a war of the small webapp, because the war-plugin requires a web.xml.
> I realise that a war-file without a web.xml might not be considered a comple war-file, and i only need it to unzip on top of the larger webapp.
> Maybe packaging the small webapp in a zip would be better?

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