Re: dist:deploy where and how ?

2004-03-09 Thread Herve AGNOUX
I'm sorry for CVS, I'm not a "Reactor" myself :-)

So I have downloaded 
http://cvs.apache.org/viewcvs.cgi/*checkout*/maven-plugins/deploy/plugin.jelly?rev=1.13
 
and it work's very well with my personnal ports but... I discover than scp is 
not installed on my server ! So I'm obliged to use something else than 
dist:deploy plugin.

Thank you for your help and sorry for the disturbing.



Le Mardi 09 Mars 2004 06:24, Emmanuel Venisse a écrit :
> - Original Message -
> From: "Herve AGNOUX" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> Sent: Monday, March 08, 2004 9:47 PM
> Subject: Re: dist:deploy where and how ?
>
> > Le Lundi 08 Mars 2004 11:51, Emmanuel Venisse a écrit :
> > > I updated the deploy plugin. for support maven.ssh.args and
>
> maven.scp.args
>
> > > properties
> > > Could you test it?
> >
> > I'm sorry, I understand nothing. I have downloaded the plugin from
> > http://maven.apache.org/reference/plugins/deploy/, but I dont'see any
> > difference in plugin.jelly !?
>
> No, I didn't release it. It's in cvs.
>
> > Now, if I do "mave dist:deploy" I obtain :
> >
> > dist:build:
> >
> > [tar] Building tar: /home/herve/[...]/distributions.tar
> > [gzip] Building: /home/herve/[...]/distributions.tar.gz
> > [delete] Deleting: /home/herve/[...]/distributions.tar
> > [echo]
> > Moving distributions.tar.gz to the /public/[...]/distributions on
> > www.my-little-compagny.com
> >
> > [exec] ssh: connect to host www.my-little-compagny.com port 22:
>
> Connection
>
> > timed out
> > [exec] [ERROR] Result: 1
> > [exec] [ERROR] Result: 129
> >
> >
> > In my build.properties :
> >
> > maven.scp.executable=scp
> > maven.ssh.executable=ssh
> > maven.ssh.args=-p xx
> > maven.scp.args=-P xx
> >
> >
> >
> >
> >
> > And I thank you for your help !
> >
> > --
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Emmanuel Venisse

- Original Message - 
From: "Herve AGNOUX" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 9:47 PM
Subject: Re: dist:deploy where and how ?


> Le Lundi 08 Mars 2004 11:51, Emmanuel Venisse a écrit :
> > I updated the deploy plugin. for support maven.ssh.args and
maven.scp.args
> > properties
> > Could you test it?
> >
>
> I'm sorry, I understand nothing. I have downloaded the plugin from
> http://maven.apache.org/reference/plugins/deploy/, but I dont'see any
> difference in plugin.jelly !?

No, I didn't release it. It's in cvs.


>
>
> Now, if I do "mave dist:deploy" I obtain :
>
> dist:build:
>
> [tar] Building tar: /home/herve/[...]/distributions.tar
> [gzip] Building: /home/herve/[...]/distributions.tar.gz
> [delete] Deleting: /home/herve/[...]/distributions.tar
> [echo]
> Moving distributions.tar.gz to the /public/[...]/distributions on
> www.my-little-compagny.com
>
> [exec] ssh: connect to host www.my-little-compagny.com port 22:
Connection
> timed out
> [exec] [ERROR] Result: 1
> [exec] [ERROR] Result: 129
>
>
> In my build.properties :
>
> maven.scp.executable=scp
> maven.ssh.executable=ssh
> maven.ssh.args=-p xx
> maven.scp.args=-P xx
>
>
>
>
>
> And I thank you for your help !
>
> -- 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Incze Lajos
On Mon, Mar 08, 2004 at 09:47:13PM +0100, Herve AGNOUX wrote:
> Le Lundi 08 Mars 2004 11:51, Emmanuel Venisse a écrit :
> > I updated the deploy plugin. for support maven.ssh.args and maven.scp.args
> > properties
> > Could you test it?
> >
> 
> I'm sorry, I understand nothing. I have downloaded the plugin from 
> http://maven.apache.org/reference/plugins/deploy/, but I dont'see any 
> difference in plugin.jelly !?
> 

Maybe, it is updated in the cvs.

incze

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Herve AGNOUX
Le Lundi 08 Mars 2004 11:51, Emmanuel Venisse a écrit :
> I updated the deploy plugin. for support maven.ssh.args and maven.scp.args
> properties
> Could you test it?
>

I'm sorry, I understand nothing. I have downloaded the plugin from 
http://maven.apache.org/reference/plugins/deploy/, but I dont'see any 
difference in plugin.jelly !?


Now, if I do "mave dist:deploy" I obtain :

dist:build:

[tar] Building tar: /home/herve/[...]/distributions.tar
[gzip] Building: /home/herve/[...]/distributions.tar.gz
[delete] Deleting: /home/herve/[...]/distributions.tar
[echo]
Moving distributions.tar.gz to the /public/[...]/distributions on 
www.my-little-compagny.com

[exec] ssh: connect to host www.my-little-compagny.com port 22: Connection 
timed out
[exec] [ERROR] Result: 1
[exec] [ERROR] Result: 129


In my build.properties :

maven.scp.executable=scp
maven.ssh.executable=ssh
maven.ssh.args=-p xx
maven.scp.args=-P xx





And I thank you for your help !

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Emmanuel Venisse
I updated the deploy plugin. for support maven.ssh.args and maven.scp.args
properties
Could you test it?

Emmanuel

- Original Message - 
From: "Emmanuel Venisse" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 9:53 AM
Subject: Re: dist:deploy where and how ?


> OK, I think that ant exec task add some quotes if executable string
contains
> spaces.
> So, it execute "/usr/bin/ssh -p XXX" 
>
> You can modify the deploy plugin and add to it a ssh parameter.
>
> Emmanuel
>
> - Original Message - 
> From: "Herve AGNOUX" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Emmanuel Venisse
OK, I think that ant exec task add some quotes if executable string contains
spaces.
So, it execute "/usr/bin/ssh -p XXX" 

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

Emmanuel

- Original Message - 
From: "Herve AGNOUX" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Herve AGNOUX
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-08 Thread Emmanuel Venisse

- Original Message - 
From: "Herve AGNOUX" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, March 08, 2004 8:30 AM
Subject: Re: dist:deploy where and how ?


> Le Samedi 06 Mars 2004 22:39, Emmanuel Venisse a écrit :
> >
> > Perhaps with this properties :
> >
> > maven.scp.executable=scp -P port
> > maven.ssh.executable=ssh -p port
> >
>
> Unfortunately, I say to maven :
>
> maven.ssh.executable=/usr/bin/ssh -l me -p port www.my-little-compagny.com

It's not nessary to define -l and server address. This parameters are added
by plugin.

>
> And maven answers me :
>
> Execute failed: java.io.IOException: java.io.IOException: /usr/bin/ssh -l
me
> -p port www.my-little-compagny.com: not found
>
> (with the good values, of course).
>
>
> -- 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-07 Thread Herve AGNOUX
Le Samedi 06 Mars 2004 22:39, Emmanuel Venisse a écrit :
>
> Perhaps with this properties :
>
> maven.scp.executable=scp -P port
> maven.ssh.executable=ssh -p port
>

Unfortunately, I say to maven :

maven.ssh.executable=/usr/bin/ssh -l me -p port www.my-little-compagny.com

And maven answers me :

Execute failed: java.io.IOException: java.io.IOException: /usr/bin/ssh -l me 
-p port www.my-little-compagny.com: not found

(with the good values, of course).


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-06 Thread Emmanuel Venisse

- Original Message - 
From: "Herve AGNOUX" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Saturday, March 06, 2004 4:30 PM
Subject: Re: dist:deploy where and how ?


> Le Samedi 06 Mars 2004 14:12, Emmanuel Venisse a écrit :
> > Actually, the dist plugin use only the deploy plugin instead of use
> > artifact plugin. So, dist:deploy goal can't deploy on a ftp server, but
> > only use ssh.
> >
>
> OK. I have also a connection by SSH to my server, but not on the standard
> port. How can I set the SSH port in build.properties ?

Perhaps with this properties :

maven.scp.executable=scp -P port
maven.ssh.executable=ssh -p port

>
> And how can I use the artifact plugin ? When I try "maven
artifact:deploy", I
> get 'Goal "artifact:deploy" does not exist in this project.'

artifact:deploy isn't a goal but a tag that you can use in a plugin or
maven.xml.
You can find a use of it in the war plugin (war:deploy goal)
Don't forget to define the artifact plugin properties for use this tag
(http://maven.apache.org/reference/plugins/artifact/properties.html).

>
> Thanks in advance.
>
>
> -- 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-06 Thread Herve AGNOUX
Le Samedi 06 Mars 2004 14:12, Emmanuel Venisse a écrit :
> Actually, the dist plugin use only the deploy plugin instead of use
> artifact plugin. So, dist:deploy goal can't deploy on a ftp server, but
> only use ssh.
>

OK. I have also a connection by SSH to my server, but not on the standard 
port. How can I set the SSH port in build.properties ?

And how can I use the artifact plugin ? When I try "maven artifact:deploy", I 
get 'Goal "artifact:deploy" does not exist in this project.'

Thanks in advance.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dist:deploy where and how ?

2004-03-06 Thread Emmanuel Venisse
Actually, the dist plugin use only the deploy plugin instead of use artifact
plugin. So, dist:deploy goal can't deploy on a ftp server, but only use ssh.

Emmanuel

- Original Message - 
From: "Herve AGNOUX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 06, 2004 11:22 AM
Subject: dist:deploy where and how ?


> Hi,
>
> I'm a newbee with maven.
>
> I'm trying to deploy my application to a server. "Deploy", I hope, means
copy
> the jars of my application in a FTP location, where my costumers can
obtain
> it. (and others things).
>
> In my build.properties I have :
>
> maven.username=me
> maven.repo.central=www.my-little-compagny.com
>
> But when I launch "maven dist:deploy", maven try to connect by FTP with
the
> name "[EMAIL PROTECTED]", not only "me" ; the FTP refuse the
> connexion. How can I say to maven "It's only me and not [EMAIL PROTECTED] ? "
>
>
>
> -- 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]