Re: [M2] & [M1] Multiproject dependencies question

2005-11-21 Thread Brett Porter
That's not an exception to the inheritence rule described. On 11/21/05, Jörg Schaible <[EMAIL PROTECTED]> wrote: > Arik Kfir wrote on Friday, November 18, 2005 7:20 PM: > > > in m2 you can define the version once - in the parent POM via > > a section. All child POMs just state > > the group & art

RE: [M2] & [M1] Multiproject dependencies question

2005-11-20 Thread Jörg Schaible
Arik Kfir wrote on Friday, November 18, 2005 7:20 PM: > in m2 you can define the version once - in the parent POM via > a section. All child POMs just state > the group & artifact IDs, without the version (they inherit the > version from the parent). Well, with exceptions: http://jira.codehaus.

Re: [M2] & [M1] Multiproject dependencies question

2005-11-18 Thread Henry Isidro
Ballard, Ken wrote: This is a question for Maven 1 & 2, although I know that the answers will be different. Let's say that I have a multiproject with subprojects. Some build jars, one builds a war, a couple that build an ejb jar and an ejb client jar, and one builds an ear. Now let's say that I

Re: [M2] & [M1] Multiproject dependencies question

2005-11-18 Thread Arik Kfir
in m2 you can define the version once - in the parent POM via a section. All child POMs just state the group & artifact IDs, without the version (they inherit the version from the parent). as for m1, I think it can only be done via a property... On 11/18/05, Ballard, Ken <[EMAIL PROTECTED]> wrot