简体   繁体   English

Maven版本插件和SCM插件配置

[英]Maven release plugin and scm plugin configuration

If I want to use release plugin with CVS, do I also declare maven-scm-plugin and set it up for my CVS environment ? 如果我想在CVS中使用发布插件,是否还要声明maven-scm-plugin并将其设置为我的CVS环境? The release plugin is using maven-scm-providers internally and there is no way to set up ssh passphrase for instance . 发布插件内部使用了maven-scm-providers,例如, 没有办法设置ssh密码

Both those plugins and their Mojos are using the scm providers but only scm plugin has options to set up the SCM environment in detail. 这些插件及其Mojos都使用scm提供程序,但是只有scm插件具有用于详细设置SCM环境的选项。 But release plugin doesn't refer to maven-scm-plugin in any way, so that the scm-plugin settings are not utilized in release plugin. 但是release插件在任何情况下都不引用maven-scm-plugin,因此scm-plugin设置不会在release插件中使用。

Or is the the convention for release plugin just using userName & password and avoid using stuff like ssh private/public key authorization via passphrase? 还是发布插件的约定仅使用userName和password并避免通过密码使用诸如ssh私钥/公钥授权之类的东西?

Look at Maven release plugin perform goal configuration 查看Maven发布插件执行目标配置

It does have username and password parameters 它确实具有用户名密码参数

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM