我找到了解决办法。
如果模块结构化分层它的工作原理:
/主干/父 /主干/父母/ childA /主干/父母/ childB
,但你必须确保SCM参数是100 %正确。
即:
/trunk/parent/pom.xml
<scm>
<connection>scm:svn:https://svnserver:18080/svn/trunk</connection>
<developerConnection>scm:svn:https://svnserver:18080/svn/trunk</developerConnection>
<url>https://svnserver:18080/viewvc/trunk</url>
</scm>
/trunk/parent/childA/pom.xml
<scm>
<connection>scm:svn:https://svnserver:18080/svn/trunk/childA</connection>
<developerConnection>scm:svn:https://svnserver:18080/svn/trunk/childA</developerConnection>
<url>https://svnserver:18080/viewvc/trunk/childA</url>
</scm>
/中继/父/ childB/POM .xml
<scm>
<connection>scm:svn:https://svnserver:18080/svn/trunk/childB</connection>
<developerConnection>scm:svn:https://svnserver:18080/svn/trunk/childB</developerConnection>
<url>https://svnserver:18080/viewvc/trunk/childB</url>
</scm>
然后当你运行f ollowing命令: MVN释放:分支-DbranchName = -DupdateBranchVersions =真-DupdateWorkingCopyVersions =真-DreleaseVersion = -DdevelopmentVersion =
所有模块都正确地分支到/支链/与所有版本和SCM属性自动更新