私のプロジェクトアーキテクチャは次のようなものです。
--Parent
--Submodule1
--Submodule2
--pom.xml(main)
親は、すべてのMavenプラグイン構成、ライブラリバージョンなどを保持するプロジェクトです。これは、すべてのサブモジュールの親であるすべてのプロジェクトの親です。次のように、pom.xml(main)でプラグインを構成します。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<tagBase>svn://192.168.5.213/hxbos/hxecp-src/tags/hxbos</tagBase>
<branchBase>svn://192.168.5.213/hxbos/hxecp-src/branches/hxbos</branchBase>
<remotetagging>true</remotetagging>
<checkModificationExcludes>
<checkModificationExclude>**/*.log</checkModificationExclude>
<checkModificationExclude>**/*.jar</checkModificationExclude>
<checkModificationExclude>**/system*</checkModificationExclude>
</checkModificationExcludes>
</configuration>
</plugin>
これは私のscm情報です:
<scm>
<connection>scm:svn:svn://192.168.5.213/hxbos/hxecp-src/trunk/hxbos</connection>
<developerConnection>scm:svn:svn://192.168.5.213/hxbos/hxecp-src/trunk/hxbos</developerConnection>
<url>scm:svn:svn://192.168.5.213/hxbos/hxecp-src/trunk/hxbos</url>
</scm>
しかし、:mvn release:prepareを使用すると、エラーが発生します。
The svn tag command failed.
Command output:
svn: “svn://192.168.5.213/hxbos/hxecp-src/trunk/hxbos” does not exist in
revision 0.
なぜリビジョン0なのですか?