开发者

How to not download new version of jar with buildr?

开发者 https://www.devze.com 2023-02-04 01:46 出处:网络
For example if I have transitive(\'xxx:xxx:jar:1.4-SNAPSHOT\') in artifacts.rb I don\'t want that when I run buildr 开发者_StackOverflowto recive new version of 1.4-SNAPSHOT.

For example if I have transitive('xxx:xxx:jar:1.4-SNAPSHOT') in artifacts.rb I don't want that when I run buildr 开发者_StackOverflowto recive new version of 1.4-SNAPSHOT.

For buildr 1.4.0 no new version was download when I run buildr, but with buildr 1.4.4 it download new version if exist.


The whole idea of making a dependency as a SNAPSHOT dependency is for it to be updated when changed.

As to why buildr-1.4.4 downloads SNAPSHOT updates and 1.4.0 does not, this was introduced in buildr-1.4.2 as per this link.

You could run buildr in offline mode (-o) so that it does not download any updates.

0

精彩评论

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