Re: m2 webapp support

2005-11-17 Thread Stephen Duncan
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Generally, it's probablyy better to say: "mvn package" than to manually string the steps together (mvn compile war:war). Certainly it's shorter and easier. -Stephen On 11/17/05, Nathaniel G. Auvil <[EMAIL PROTECTED]>

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
wow. cool. that is it. I did not understand that i had to string the commands together. Thank you very much. Bruno Aranda <[EMAIL PROTECTED]> wrote: Hi Natahniel, put the sources in src/main/java and then execute mvn compile war:war (or mvn install). The issue is that with mvn war:w

Re: m2 webapp support

2005-11-17 Thread Bruno Aranda
Hi Natahniel, put the sources in src/main/java and then execute mvn compile war:war (or mvn install). The issue is that with mvn war:war the sources are not being compiled... Regards, Bruno 2005/11/17, Nathaniel G. Auvil <[EMAIL PROTECTED]>: > > So i have to manually create and specify where a

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
So i have to manually create and specify where all the directories are? I thought maven would do this? I dont mean to offend anyone, but if i have to manually do this, why not just use Ant by itelf? Maybe i am confused in what Maven does? I thought Maven provides a project structu

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i tried this and it does not work for a web application. I also tried placing them under WEB-INF/classes and that did not work. Bruno Aranda <[EMAIL PROTECTED]> wrote: You have to put your source files in the src/main/java folder. Regards, Bruno 2005/11/17, Nathaniel G. Auvil : >

Re: m2 webapp support

2005-11-17 Thread Bruno Aranda
You have to put your source files in the src/main/java folder. Regards, Bruno 2005/11/17, Nathaniel G. Auvil <[EMAIL PROTECTED]>: > i am having problems trying to create a new web application. I searched the > documentation and found a reference to building a web application project. > I r

Re: m2 webapp support

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 src/main/webapps, IIRC. You might check out http://maven.apache.org/plugins/maven-war-plugin/ for more information. - -j Nathaniel G. Auvil wrote: | i am having problems trying to create a new web application. I searched the documentation and fou

m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i am having problems trying to create a new web application. I searched the documentation and found a reference to building a web application project. I run the command and it builds a webapp. But i have no idea where i should stick my java source files so that when i do a "mvn war:war",