PR: MPARTIFACT-48

Correct basedir for command execution


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@179338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2005-06-01 02:45:49 +00:00
parent 148110eb42
commit d57b339831
2 changed files with 12 additions and 4 deletions

View File

@ -266,7 +266,14 @@
<define:taglib uri="deploy">
<define:tag name="artifact">
<ant:echo>DEPRECATED: use of deploy:artifact tag and the legacy deploy method are deprecated</ant:echo>
<ant:echo>
**********************************************************************************
DEPRECATED: use of deploy:artifact tag and the legacy deploy method are deprecated
Please specify the maven.repo.list and relevant properties instead
**********************************************************************************
</ant:echo>
<!--
||
@ -332,7 +339,7 @@
<j:set var="assureDirectoryCommandX" value="${assureDirectoryCommand}X"/>
<j:if test="${assureDirectoryCommandX != 'X'}">
<ant:exec dir="." executable="${commander}" failonerror="true">
<ant:exec dir="${basedir}" executable="${commander}" failonerror="true">
<ant:arg line="${maven.ssh.args} -l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'"/>
</ant:exec>
</j:if>
@ -341,7 +348,7 @@
<j:if test="${targetFilename != null}">
<j:set var="args" value="${args}/${targetFilename}" />
</j:if>
<ant:exec dir="." executable="${copier}" failonerror="true">
<ant:exec dir="${basedir}" executable="${copier}" failonerror="true">
<ant:arg line="${args}" />
</ant:exec>
@ -365,7 +372,7 @@
Executing ${siteCommand} with the username ${username} on ${siteAddress}
</ant:echo>
<ant:exec dir="." executable="${commander}" failonerror="true">
<ant:exec dir="${basedir}" executable="${commander}" failonerror="true">
<ant:arg line="${maven.ssh.args} -l ${username} ${siteAddress} '${siteCommand}'"/>
</ant:exec>

View File

@ -26,6 +26,7 @@
</properties>
<body>
<release version="1.5-SNAPSHOT" date="in SVN">
<action dev="brett" type="update" issue="MPARTIFACT-48">Legacy method not executing from the correct directory</action>
<action dev="brett" type="update" issue="MAVEN-1396">Replace bulk of code with Wagon</action>
</release>
<release version="1.4.1" date="2004-09-29">