Re: RE : [m2] Inter-project dependency question - forced to package sub-module dependencies manually?

2006-03-29 Thread Wayne Fay
root > pom.xml everything works well, but if I just want to work with a > sub-module, than extra steps are required. > > -Chris > > -Original Message- > From: Gareth Western [mailto:[EMAIL PROTECTED] > Sent: March 28, 2006 2:50 PM > To: Maven Users List > Subjec

RE : [m2] Inter-project dependency question - forced to package sub-module dependencies manually?

2006-03-29 Thread Chris Wall
ct: Re: RE : [m2] Inter-project dependency question Hi Chris, I'm not sure if this is the BEST way to do it, but what I do is create a parent pom.xml in the root directory. Then add commons, web-app, and stand-alone app as modules in that parent POM. Maven should figure out that since webapp

Re: RE : [m2] Inter-project dependency question

2006-03-28 Thread Gareth Western
Hi Chris, I'm not sure if this is the BEST way to do it, but what I do is create a parent pom.xml in the root directory. Then add commons, web-app, and stand-alone app as modules in that parent POM. Maven should figure out that since webapp and standalone app are dependent on the commons module th

RE: RE : [m2] Inter-project dependency question

2006-03-28 Thread Chris Wall
-Original Message- From: Olivier Lamy [mailto:[EMAIL PROTECTED] Sent: March 28, 2006 12:01 PM To: 'Maven Users List' Subject: RE : [m2] Inter-project dependency question Perso I do as this. root -- commons 1.0-SNAPSHOT -- webapp -- sub module A (depends on commons 1.0-SNAPSHOT)

RE : [m2] Inter-project dependency question

2006-03-28 Thread Olivier Lamy
Perso I do as this. root -- commons 1.0-SNAPSHOT -- webapp -- sub module A (depends on commons 1.0-SNAPSHOT) -- sub module B (depends on commons 1.0-SNAPSHOT) -- stand-alone app (depends on commons 1.0-SNAPSHOT) In the root directory, mvn clean test-compile. (in order to verify all