On Mar 19, 2010, at 6:58 PM, Florin Ciubotaru wrote:
Hi,
We're now setting up the windows build agent for hudson.
In order to make deployments from windows machines we need to switch the
protocol from scp to scpexe.
Do you know why ?
Thanks
-Vincent
The local machines needs to declare the ssh and scp
tools configuration
in maven's settings.xml. Windows tools like putty and pscp are not
properly configured when the protocol is set to scp.
The deployment protocol is specified in our parrent pom. Eg:
<distributionManagement>
<site>
<id>maven.xwiki.org</id>
<url>scp://maven.xwiki.org/home/maven/public_html/site</url>
</site>
<repository>
<id>maven.xwiki.org</id>
<name>XWiki Maven2 Remote Repository for Releases</name>
<url>scp://maven.xwiki.org/home/maven/public_html/releases</url>
</repository>
<snapshotRepository>
<id>maven.xwiki.org</id>
<name>XWiki Maven2 Development Repository for Snapshots</name>
<url>scp://maven.xwiki.org/home/maven/public_html/snapshots</url>
</snapshotRepository>
</distributionManagement>
WDYT about changing this?
Thanks,
Florin Ciubotaru