我正在研究 Maven 和 Subversion。
我创建了一个 Maven 项目。现在我想将它指向我的存储库(由 TortoiseSVN 创建)。我在一篇关于 Maven 和 Subversion 的教程中读到我应该更改pom.xml
文件。按照这些说明,我添加了一个scm
标签,如下所示:
<scm>
<connection>scm:svn:svn+ssh://file:///E:/my-app-repos/trunk</connection>
<developerConnection>scm:svn:svn+ssh://file:///E:/my-app-repos/trunk</developerConnection>
<url>scm:svn:svn+ssh://file:///E:/my-app-repos/trunk</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>svn+ssh://file:///E:/my-app-reposs</tagBase>
</configuration>
</plugin>
</plugins>
</build>
但是,当我尝试时mvn release:prepare
,我得到一个错误:
fail to execute goal org.apache.maven.plugins
会发生什么?