I don't know about the web.xml file (maybe try prefixing with ${basedir}
For the index: Which version of Maven do you use?
The maven.war.index-property has been introduced in rc1 I think

Christian

-----Original Message-----
From: Martin Nyholm Jelle [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 29, 2003 12:37 PM
To: '[EMAIL PROTECTED]'
Subject: 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 [EMAIL PROTECTED]

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to