[Engine-devel] A maven question

Juan Hernandez jhernand at redhat.com
Mon Sep 16 10:22:53 UTC 2013


On 09/12/2013 10:54 AM, Mooli Tayer wrote:
> (Moving here from a patch disscission)
> 
> in our main aggregator pom.xml we use properties to manage dependencies
> 
> Why do we use those vars and not put the version in the dependencyManagement tag in our aggregator pom and in a project's pom declare dependencies without the version (gets weirder when we have a var we use only in a dependencyManagement tag - why use the var?)
> as I currently understand our container we cannot use different versions of a dependency (although it is possible in jboss) - is that true?

In my opinion it is better to avoid those properties and use the
dependencyManagement section, as you suggest.

We can use different versions of a dependency, this is one of the
benefits of using JBoss modules. However we didn't have that need yet.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.



More information about the Devel mailing list