Author: brett
Date: Tue May 31 19:45:49 2005
New Revision: 179338
URL: http://svn.apache.org/viewcvs?rev=179338&view=rev
Log:
PR: MPARTIFACT-48
Correct basedir for command execution
Modified:
maven/maven-1/plugins/trunk/artifact/plugin.jelly
maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml
Modified: maven/maven-1/plugins/trunk/artifact/plugin.jelly
URL:
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/artifact/plugin.jelly?rev=179338&r1=179337&r2=179338&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/artifact/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/artifact/plugin.jelly Tue May 31 19:45:49 2005
@@ -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>
Modified: maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml
URL:
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml?rev=179338&r1=179337&r2=179338&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/artifact/xdocs/changes.xml Tue May 31 19:45:49
2005
@@ -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">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]