Re: Global dependency version property

2009-10-11 Thread Anders Hammar
Yes, you can. /A On Sat, Oct 10, 2009 at 21:41, Quintin Beukes quin...@skywalk.co.za wrote: And you override where necessary? Quintin Beukes On Sat, Oct 10, 2009 at 8:36 PM, Anders Hammar and...@hammar.net wrote: Yes. You use the dependencyManagement to specify stuff like version and

Global dependency version property

2009-10-10 Thread Quintin Beukes
Hey, We have certain dependencies like OpenEJB, Geronimo and Hibernate being used throughout our project. When we upgrade the version (especially with minor revisions) it's merely a process of changing all the version elements to the new version. Though, being many projects this is a tedious

Re: Global dependency version property

2009-10-10 Thread Jason van Zyl
You really need to read the book. http://www.sonatype.com/books/maven-book/reference/optimizing-sect-dependencies.html On 2009-10-10, at 9:29 AM, Quintin Beukes wrote: Hey, We have certain dependencies like OpenEJB, Geronimo and Hibernate being used throughout our project. When we upgrade

Re: Global dependency version property

2009-10-10 Thread Quintin Beukes
Thanks, that looks good. Re. the dependencyManagement element. When I include a set of dependencies in my parent POM, they won't be included in the child POMs unless I excplicitely list them there? Meaning it's effect is only when the dependency is listed in a child without a version? Quintin

Re: Global dependency version property

2009-10-10 Thread Anders Hammar
Yes. You use the dependencyManagement to specify stuff like version and scope. Each project where you have the dependency you still need to specify it. However, you just state groupId and artifactId. /Anders On Sat, Oct 10, 2009 at 20:02, Quintin Beukes quin...@skywalk.co.za wrote: Thanks,

Re: Global dependency version property

2009-10-10 Thread Quintin Beukes
And you override where necessary? Quintin Beukes On Sat, Oct 10, 2009 at 8:36 PM, Anders Hammar and...@hammar.net wrote: Yes. You use the dependencyManagement to specify stuff like version and scope. Each project where you have the dependency you still need to specify it. However, you just