maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse" <emman...@venisse.net>
Subject Re: dist:deploy where and how ?
Date Mon, 08 Mar 2004 08:53:38 GMT
OK, I think that ant exec task add some quotes if executable string contains
spaces.
So, it execute "/usr/bin/ssh -p XXX" <rest of command line>

You can modify the deploy plugin and add to it a ssh parameter.

Emmanuel

----- Original Message ----- 
From: "Herve AGNOUX" <herve.agnoux@diaam-informatique.com>
To: "Maven Users List" <users@maven.apache.org>
Sent: Monday, March 08, 2004 9:41 AM
Subject: Re: dist:deploy where and how ?


> Le Lundi 08 Mars 2004 09:13, Emmanuel Venisse a écrit :
> >
> > It's not nessary to define -l and server address. This parameters are
added
> > by plugin.
> >
>
> Ok, but the result is always the same ; the property :
>
> maven.ssh.executable=/usr/bin/ssh -p xxx
>
> gives :
>
>     [echo]
>         Moving distributions.tar.gz to the
> /public/html/maven/product/distributions on www.my-little-compagny.com
>
>
> BUILD FAILED
> File...... file:/home/herve/.maven/plugins/maven-deploy-plugin-1.1/
> Element... ant:exec
> Line...... 90
> Column.... 53
> Execute failed: java.io.IOException: java.io.IOException: /usr/bin/ssh -p
xxx
> :                 not found
> Total time: 42 seconds
> Finished at: Mon Mar 08 09:33:56 CET 2004
>
>
> ... and of course I have ssh at /usr/bin/ssh and "xxx" is the good port.
>
>
> -- 
> SARL diaam informatique - 04 50 44 26 54
> Ingenierie, développements de systèmes d'information
> http://www.diaam-informatique.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message