Be careful about the snapshots

We are a global team with around 30 devs that generally focusing on the same product. And we have a mirror site of maven repo maintained using Nexus. The proxy server is placed in the US and when we start checking out the latest code and rebuild, it usually takes the Beijing team a lot of time.
The problem here is we use some snapshot libs on glassfish related libs, every 24 hours, these libs will be downloaded again, and nothing would be expected to change.
The idea of snapshot for maven is that when someone actively developing some code, which is referenced by your project in the pom, you then can be guaranteed to have the lasted dependency without changing pom. So for those libs that are out of the ctrl scope, the better use case is to retrieve them from the release-repo.
That's the raw idea. Or perhaps maven can skip checking update for some snapshots locally? I haven't examined this.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值