禁用Maven SCM [英] Disable Maven SCM

查看:120
本文介绍了禁用Maven SCM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Maven中禁用SCM集成选项吗?我希望它在不集成SCM的情况下构建本地签出项目吗?

Could I disable SCM integration option in Maven? I want it to build a local checked-out project without SCM integration ?

有一些设置或一些设置吗?

is there some settings or some how??

预先感谢

推荐答案

仅当您要发布软件的新版本或生成更新日志.当构建本地签出项目时,忽略" SCM集成.

SCM integration is only used when you want to release a new version of software or generate changelog. When build a local checked-out project SCM integration is "ignored".

还有 scm插件,但未绑定没有默认的生命周期.

There is also scm-plugin but it isn't binded to none of the default lifecycles.

编辑
根据 pom引用,如果您声明scm部分,则该部分必须有效,否则请删除scm部分.
请粘贴您的scm部分,或者pom中使用了scm插件.

EDIT
According pom reference if you declare scm section it must be valid otherwise remove scm section.
Please paste your scm section or maybe scm plugin is used in pom.

这篇关于禁用Maven SCM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆