Hi,

i am using "mvn package" to create a war file of my project.
However, I found out that my context.xml file, located under
"src/context/context.xml", is missing in the META-INF directory of the war 
file! Therefore, running my application fails! :-(

I know there is a tomcat plugin that builds the war AND deploys the war to a 
tomcat server, but I would like to do this step by step - as a first step, I 
want to manually move the war file into my tomcat webapps directory, if that 
works, I want to try to automatically do this with the tomcat plugin.

However, I found out that the tomcat plugin can be configured like that:
<groupId>org.codehaus.mojo</groupId>                    
<artifactId>tomcat-maven-plugin</artifactId>
<configuration>
<mode>both</mode>                               
<contextFile>src/context/context.xml</contextFile>

However, I didn't find anything similar for the maven war plugin.

Any idea how this can be done?

Thanks in advance,

Stefanie
-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.web.de/de/entertainment/games/free

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

Reply via email to