You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lucas Gonçalves <go...@gmail.com> on 2006/07/17 15:29:00 UTC

Package war without web.xml

How can i package a war file without web.xml?

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error assembling WAR: Deployment descriptor:
D:\ProjetosMaven\jcompanyd_questionario\jcompanyd_questionario
_visao\target\jcompanyd_questionario_visao-3.0-SNAPSHOT\WEB-INF\web.xml does
not exist.

In my case, i can´t put a simple web.xml with 0kb because will bring me
troubles for use it with others applications.
-- 
                                Lucas Gonçalves
                                Tel: (31)87382096

Re: Package war without web.xml

Posted by dcabasson <de...@insee.fr>.
Well, most probably, you don't :)

A webapp has to have a web.xml file. So you're probably trying to tweak
Maven in a way he doesn't want to... What are you trying to do?

Denis.


Lucas Gonçalves-2 wrote:
> 
> How can i package a war file without web.xml?
> 

-- 
View this message in context: http://www.nabble.com/Package-war-without-web.xml-tf1954723.html#a5361278
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org