【问题标题】:Maven: What is the <url> element in the <scm> config used for?Maven:<scm> 配置中的 <url> 元素是做什么用的?
【发布时间】:2012-01-12 17:01:05
【问题描述】:

在 pom.xml 中配置&lt;scm&gt; 元素时,&lt;url&gt; 标签的作用是什么?

来自http://maven.apache.org/scm/plugins/usage.html的示例:

<scm>
    <connection>scm:svn:http://somerepository.com/svn_repo/trunk</connection>
    <developerConnection>scm:svn:https://somerepository.com/svn_repo/trunk</developerConnection>
    <url>http://somerepository.com/view.cvs</url>
</scm>

【问题讨论】:

    标签: maven-3 maven-scm


    【解决方案1】:

    如果您设置了viewCV 或其他一些工具,可让您通过网络浏览器访问您的代码,那么您可以将 URL 放在这里。

    【讨论】:

    • 谢谢!如果插件页面记录了这一点会很好。
    猜你喜欢
    • 2012-01-02
    • 2022-07-04
    • 2014-07-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-17
    • 1970-01-01
    • 2014-02-04
    相关资源
    最近更新 更多