开发者

How does one consolidate version management in Ivy, like parent-pom <dependencyManagement> in Maven?

开发者 https://www.devze.com 2023-03-26 23:11 出处:网络
We have many projects that need to use common version numbers. What is best practice for doing this with Ant/Ivy?Do you just inherit a wad of开发者_运维技巧 properties from Ant that have the version n

We have many projects that need to use common version numbers.

What is best practice for doing this with Ant/Ivy? Do you just inherit a wad of开发者_运维技巧 properties from Ant that have the version numbers in them, or is there a more formal mechanism a la Maven?


As you've pointed out I think this is the problem which the new extends functionality has been designed to solve.

To be completely honest I'm not a fan of parent-child modules in Maven.... However, just like you sometimes I want to nail lots of my modules to a common version of Spring.

The solution I used was to have a set of properties defined in my shared ivysettings file. This keeps my ivy specific properties separate from my ANT build properties.

0

精彩评论

暂无评论...
验证码 换一张
取 消