With the "bom" approach, you don't use properties to define the versions (you can but it seems unnecessary IMHO). All of the dependency versions are defined in the parent pom in the <dependencyManagement> section, as normal dependencies.
On Wed, Aug 21, 2013 at 9:55 AM, Jon Anstey <jans...@gmail.com> wrote: > When using import scope though you only get managed dependencies - no > properties. Need to inherit a parent pom to get properties. > > > On Wed, Aug 21, 2013 at 11:15 AM, James Strachan > <james.strac...@gmail.com>wrote: > >> I wonder if we should experiment with a BOM file? >> http://stackoverflow.com/questions/14874966/how-to-use-bom-iwith-maven >> >> then the camel project could import the BOM file and other projects >> could share it too (without having to go the parent pom.xml route). >> >> >> On 15 August 2013 12:26, Claus Ibsen <claus.ib...@gmail.com> wrote: >> > Hi >> > >> > Today we have the parent/pom.xml file which has both all the versions >> > of the 3rd party JARs we have as dependencies. And also a list of all >> > the camel components and some other stuff. >> > >> > I wonder if we could have all the dependency versions in a single >> > file, without all the other stuff. >> > >> > This would make it easier for ppl to see what are the version changes >> > between any two Camel versions, but just diff the 2 files? >> > >> > And also we could just have such a link in the release notes so we >> > dont have to manually keep all the versions upgrades in the release >> > notes up to date as well. >> > >> > -- >> > Claus Ibsen >> > ----------------- >> > Red Hat, Inc. >> > Email: cib...@redhat.com >> > Twitter: davsclaus >> > Blog: http://davsclaus.com >> > Author of Camel in Action: http://www.manning.com/ibsen >> >> >> >> -- >> James >> ------- >> Red Hat >> >> Email: jstra...@redhat.com >> Web: http://fusesource.com >> Twitter: jstrachan, fusenews >> Blog: http://macstrac.blogspot.com/ >> >> Open Source Integration >> > > > > -- > Cheers, > Jon > --------------- > Red Hat, Inc. > Email: jans...@redhat.com > Web: http://redhat.com > Twitter: jon_anstey > Blog: http://janstey.blogspot.com > Author of Camel in Action: http://manning.com/ibsen