Profiles to the rescue ;-) Define a profile in the top-level pom containing just the the war and ear modules in the <modules/> section.
-Peter Daniel Hoffmann-6 wrote: > > 1.) and 2.) are different projects. > There are much more projects in 'myproject', so I can´t execute mvn on > 'myproject' (without deleting the other projects from my myproject pom), > because I don´t want the other projects to be build. > > Daniel > > P.S.: I don´t think it makes any differences, but I am using m2e. > > > > 2010/5/19 Jesse Farinacci <jie...@gmail.com> > >> Hi Daniel, >> >> On Wed, May 19, 2010 at 9:47 AM, Daniel Hoffmann >> <biggibig...@googlemail.com> wrote: >> > >> > 1.) myproject/makewar clean install >> > 2.) myproject/makeear clean install cargo:deploy >> > >> > Daniel >> >> Why not attach cargo:deploy to the deploy phase and then call mvn clean >> deploy? >> >> -Jesse >> >> -- >> There are 10 types of people in this world, those >> that can read binary and those that can not. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > -- View this message in context: http://old.nabble.com/Chaining-Maven-goals-of-different-Base-Directories-tp28608528p28670270.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org