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]> wrote: > > 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:war > the sources are not being compiled... > > Regards, > > Bruno > > 2005/11/17, 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 structure such that i can create x number of projects and they all > > have the same directory structures, build files, etc.... out of the box. > > Then i can of course, enhance those defaults with additional plug-ins and > > options. Is this an incorrect assumption? > > > > > > John Casey wrote: -----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 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", it builds them and places them in "WEB-INF/classes" > > | > > | Can anyone tell me how to do this? > > | > > | > > | > > | --------------------------------- > > | Yahoo! FareChase - Search multiple travel sites in one click. > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.6 (GNU/Linux) > > > > iD8DBQFDfNThK3h2CZwO/4URAqzPAJ96vKssDbu3jFtK43rSWqB3TjY4TwCfVrFS > > RH/vLn+vaIcRY36U9fZFIZY= > > =YM4O > > -----END PGP SIGNATURE----- > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------- > > Yahoo! FareChase - Search multiple travel sites in one click. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. > -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]