PR: MPSCM-29

clarify usage of repository on update


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@179018 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2005-05-30 06:17:21 +00:00
parent 7109f45ce9
commit 192b61d44f

View File

@@ -125,13 +125,9 @@
</goal>
<goal name="scm:update" prereqs="scm:find-connection" description="Update the project in the current directory from SCM">
<j:set var="msg" value="Updating from ${scmConnection}"/>
<j:set var="value" value="${maven.scm.tag}"/>
<j:if test="${!empty(value)}">
<j:set var="msg" value="${msg}; using tag: ${value}" />
</j:if>
<ant:echo>${msg}</ant:echo>
<ant:echo>Updating from SCM</ant:echo>
<!-- Connection may not be used, but is needed for correct operation of Maven SCM at this point and for the tag in SVN if that were implemented -->
<scm:update url="${scmConnection}" workingDirectory="${basedir}" username="${maven.scm.username}" password="${maven.scm.password}" />
</goal>