Replace deprecated maven:pluginVar by maven:get.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@408957 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2006-05-23 16:34:26 +00:00
parent 92b5132980
commit 997c8359a8

View File

@ -50,14 +50,14 @@
<!-- Compute the SCM URL to use. Note: IMO this should be done by the SCM plugin who <!-- Compute the SCM URL to use. Note: IMO this should be done by the SCM plugin who
should provide a URL with this information for us to use --> should provide a URL with this information for us to use -->
<maven:pluginVar var="method" plugin="maven-scm-plugin" property="maven.scm.method"/> <maven:get var="method" plugin="maven-scm-plugin" property="maven.scm.method"/>
<j:if test="${method == 'cvs'}"> <j:if test="${method == 'cvs'}">
<maven:pluginVar var="root" plugin="maven-scm-plugin" property="maven.scm.cvs.root"/> <maven:get var="root" plugin="maven-scm-plugin" property="maven.scm.cvs.root"/>
<maven:pluginVar var="module" plugin="maven-scm-plugin" property="maven.scm.cvs.module"/> <maven:get var="module" plugin="maven-scm-plugin" property="maven.scm.cvs.module"/>
<j:set var="url" value="${root}"/> <j:set var="url" value="${root}"/>
</j:if> </j:if>
<j:if test="${method == 'svn'}"> <j:if test="${method == 'svn'}">
<maven:pluginVar var="root" plugin="maven-scm-plugin" property="maven.scm.svn.root"/> <maven:get var="root" plugin="maven-scm-plugin" property="maven.scm.svn.root"/>
<j:set var="url" value="${root}"/> <j:set var="url" value="${root}"/>
</j:if> </j:if>