saiddfhi / gwt-maven

Automatically exported from code.google.com/p/gwt-maven
0 stars 0 forks source link

simplesample fails with "web.xml does not exist" #201

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is this Maven 1 or Maven 2?

Maven 2

What steps will reproduce the problem?
1. svn checkout
http://gwt-maven.googlecode.com/svn/trunk/maven-googlewebtoolkit2-plugin/simples
ample/
2. cd simplesample
3. mvn war:war

What is the expected output? What do you see instead?

Assuming that "mvn war:war" is the correct thing to do, I expect it to make
a .war, but I see this error:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] The specified web.xml file
'/home/murrayc/gwt-maven-sample/simplesample/target/web.xml' does not exist

What version of the product are you using? On what operating system?

Ubuntu Linux (Intrepid) 

Please provide any additional information below.

I assume that this is meant to work this way, but I don't have much clue.

Original issue reported on code.google.com by murr...@murrayc.com on 20 Mar 2009 at 1:56

GoogleCodeExporter commented 9 years ago
Don't do that.  It's not intended for you to run the War plugin war goal 
directly. 
Try reading the file that has the name that indicates you should read it - 
README.txt. 

(You want mvn install, not mvn war:war.)

Original comment by charlie....@gmail.com on 23 Mar 2009 at 12:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Helpful!

Original comment by max.at.x...@gmail.com on 6 May 2009 at 3:01