url property for CVS is used as CVSROOT and should not

have the module attached to it.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@156562 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
epugh 2005-03-08 20:01:26 +00:00
parent e2195bcd71
commit e6048460ef

View File

@ -54,12 +54,14 @@
<j:if test="${method == 'cvs'}">
<maven:pluginVar var="root" plugin="maven-scm-plugin" property="maven.scm.cvs.root"/>
<maven:pluginVar var="module" plugin="maven-scm-plugin" property="maven.scm.cvs.module"/>
<j:set var="url" value="${root}"/>
</j:if>
<j:if test="${method == 'svn'}">
<maven:pluginVar var="root" plugin="maven-scm-plugin" property="maven.scm.svn.root"/>
<maven:pluginVar var="module" plugin="maven-scm-plugin" property="maven.scm.svn.module"/>
<j:set var="url" value="${root}/${module}"/>
</j:if>
<j:set var="url" value="${root}/${module}"/>
<!-- Compute the merge directory automatically if not specified by the user -->
<maven:makeRelativePath var="relativeMavenBuildDir" basedir="${basedir}"