You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Denis Cabasson (JIRA)" <ji...@codehaus.org> on 2007/02/16 02:05:29 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_87662 ] 

Denis Cabasson commented on MWAR-30:
------------------------------------

a war without a web.xml is definitly not a war.

I suggest you add an empty web.xml to your smaller war, and then configure the overlaying to keep the relevant web.xml.

> 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