Re: Enforcing specific version of jars in the whole project build

2007-06-15 Thread Wendy Smoak
On 6/15/07, Johan Iskandar [EMAIL PROTECTED] wrote: Is there anyway for us to declare in the parent project's pom a restriction on the set of jar's version to use in building the whole project? Set the versions in dependencyManagement (and pluginManagement) in the parent, and then don't use

RE: Enforcing specific version of jars in the whole project build

2007-06-15 Thread Johan Iskandar
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Set the versions in dependencyManagement (and pluginManagement) in the parent, and then don't use version elsewhere. This doesn't 'force' it -- a child project can still override the choice if it wants to. Does this

RE: Enforcing specific version of jars in the whole project build

2007-06-15 Thread Johan Iskandar
This doesn't 'force' it -- a child project can still override the choice if it wants to. Does this means that if I had 3rd party modules I would also need to remove all version of the 3rd party modules? Sorry what I meant was.. 3rd party modules's poms?

Re: Enforcing specific version of jars in the whole project build

2007-06-15 Thread Wendy Smoak
On 6/15/07, Johan Iskandar [EMAIL PROTECTED] wrote: Does this means that if I had 3rd party modules I would also need to remove all version of the 3rd party modules? Sorry what I meant was.. 3rd party modules's poms? No... your definitions in dependencyManagement should be closer and take

RE: Enforcing specific version of jars in the whole project build

2007-06-15 Thread Johan Iskandar
Considering this set.. com.a:a project ... groupIdcom.a/groupId artifactIda/artifactId packagingjar/packaging version1.0/version namea's project/name dependencyManagement dependencies dependency