Maven 快照工作原理
目前,每当运行新构建时都会创建 Maven 快照。我希望是否有语法仅在该构建中发生 SCM 更改或特定 jar 中的代码发生更改时才对它们进行标记。
您的想法和想法将不胜感激。
请并谢谢你。
Currently maven Snapshots are created whenever a new build is ran. I was hoping if there is syntax that only stamps them when there is SCM change in that build or code in a particular jar has changed.
Your ideas and thoughts would be appreciated.
Please and thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,只有您的 SCM 知道是否发生了变化。因此,逻辑必须检查 SCM 是否发生了更改,并且仅在发生更改时才进行构建
Well, only your SCM knows if there's been a change. So the logic would have to check the SCM whether there's been a change, and only build if there has been