這裏是我的SVN結構:標記次幹道目錄
trunk/
+- docs/
+- dev/
+- project-parent/
+- project-war/
releases/
我想Maven的版本插件標記/trunk/dev/
到/releases/<release-version>
這裏是我的父母pom.xml
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<tagBase>http://svn.mycompany.com/svn/project/releases</tagBase>
<generateReleasePoms>false</generateReleasePoms>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:svn:http://svn.mycompany.com/svn/project/trunk/dev</connection>
<developerConnection>scm:svn:http://svn.mycompany.com/svn/project/trunk/dev</developerConnection>
</scm>
的問題是,當我執行mvn release:prepare-with-pom
,Maven的標籤/trunk
到/releases/<release-version>
。
有人知道如何標記/trunk/dev
嗎?謝謝 !