You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Nyholm Jelle <ma...@stibo.com> on 2003/09/29 12:36:41 UTC

WAR web.xml trouble

Hi all,

I'm trying to use the Maven war goal.

My directory is

src
  /conf
    web.xml
    struts-config.xml
  /java
  /test
  /webapp
    /WEB-INF

I got the following in my project.properties file:
#war plugin properties
maven.war.index=false
maven.war.webxml=src/conf/web.xml

The problem is, that my settings from project.properties seems to be ignored. I get a war file still containing an index file, and missing the web.xml file.

What am I doing wrong?

---
Regards

Martin Nyholm Jelle,
Software Architect
--------------------------------------
Stibo Catalog · Søren Nymarks Vej 3 · DK - 8270 Højbjerg · Denmark Phone +45 8939 1111 · E-mail martin.jelle@stibo.com

Visit us at www.stibocatalog.com · Read our e-magazine www.insight.stibo.com Global leaders in Product and Catalog Content Management · Europe · USA · Asia
--------------------------------------
This e-mail is intended for the addressee only and may contain information that is confidential. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If this email has been sent to you in error, please notify us immediately by telephone or by e-mail.
--------------------------------------

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


Re: WAR web.xml trouble

Posted by di...@multitask.com.au.
Which release are you on?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Martin Nyholm Jelle <ma...@stibo.com> wrote on 29/09/2003 08:36:41 
PM:

> Hi all,
> 
> I'm trying to use the Maven war goal.
> 
> My directory is
> 
> src
>   /conf
>     web.xml
>     struts-config.xml
>   /java
>   /test
>   /webapp
>     /WEB-INF
> 
> I got the following in my project.properties file:
> #war plugin properties
> maven.war.index=false
> maven.war.webxml=src/conf/web.xml
> 
> The problem is, that my settings from project.properties seems to be
> ignored. I get a war file still containing an index file, and 
> missing the web.xml file.
> 
> What am I doing wrong?
> 
> ---
> Regards
> 
> Martin Nyholm Jelle,
> Software Architect
> --------------------------------------
> Stibo Catalog · Søren Nymarks Vej 3 · DK - 8270 Højbjerg · Denmark 
> Phone +45 8939 1111 · E-mail martin.jelle@stibo.com
> 
> Visit us at www.stibocatalog.com · Read our e-magazine www.insight.
> stibo.com Global leaders in Product and Catalog Content Management ·
> Europe · USA · Asia
> --------------------------------------
> This e-mail is intended for the addressee only and may contain 
> information that is confidential. If you are not the intended 
> recipient, you must not copy, distribute or take any action in 
> reliance on it. If this email has been sent to you in error, please 
> notify us immediately by telephone or by e-mail.
> --------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


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