【问题标题】:Maven release:prepare No such provider: 'svn+ssh'Maven 发布:准备没有这样的提供者:'svn+ssh'
【发布时间】:2015-07-31 05:58:29
【问题描述】:

我正在尝试使用 maven 进行发布管理。在我的 pom 中,我定义了我的 scm 连接。

<scm>
    <connection>scm:svn+ssh://xxxxxxx/usr/local/svn/myproject/trunk</connection>
    <developerConnection>scm:svn+ssh://xxxxxxx/usr/local/svn/myproject/trunk</developerConnection>
    <url>http://xxxxxxx/usr/local/svn/myproject/trunk</url>
</scm>

当我尝试运行目标 release:prepare 时,我收到以下错误:

未能在项目 myproject 上执行目标 org.apache.maven.plugins:maven-release-plugin:2.0:prepare (default-cli):找不到 SCM URL 中给出的提供程序:没有这样的提供程序:' svn+ssh'。 -> [帮助 1]

我可以使用 tortoisesvn 成功导航到该位置。我正在使用 Eclipse Luna 和 Maven 3.0.5

【问题讨论】:

    标签: eclipse maven svn maven-release-plugin


    【解决方案1】:

    经过多次试验,我想通了。它应该是 scm:svn:svn+ssh://....

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-02-21
      • 1970-01-01
      • 2012-10-18
      • 1970-01-01
      • 2011-04-12
      • 2020-04-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多