If you install cygwin, you have a ssh (client and server) in command line mode.
Emmanuel ----- Original Message ----- From: "Amato Massimiliano (TLAB)" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, May 18, 2004 10:48 AM Subject: RE: Problem with Jar:deploy under Windows I think the problem is with ssh then.... do you know of an ssh program i can install on windows that can be rn thru console? I know of telnet like program or cygwin but that's not what i am searching for... i need a command line program Max -----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 9:30 AM To: 'Maven Users List' Subject: RE: Problem with Jar:deploy under Windows Unfortunately, the deploy plugin used by jar and others, unlike artifact, only supports ssh targets. You probably need to set central as "localhost" and directory as \\astrodev001\\development$\\maven\\repository... Although I'm not sure how well that will work and still requires ssh installed which you don't have. For compatibility reasons, this hasn't been changed in recent releases but will be revisited very soon after 1.0 is released. You may be better off doing something like: maven -Dmaven.repo.local=\\astrodev001\\development$\\maven\\repository jar:deploy Or maven jar artifact:deploy using artifact plugin configuration Note also that if you have trouble with the UNC patch names, you might try mouting it as a drive and using z:/maven/repository instead. HTH, Brett > -----Original Message----- > From: Amato Massimiliano (TLAB) > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 18 May 2004 5:20 PM > To: Maven Users List > Subject: Problem with Jar:deploy under Windows > > > Hello, > > I have a problem while i try to deploy an artifact to my > remote repository, that is a shared directory since we are > behind a firewall and cannot go thru it > > Anyway i set all the 3 settings i needed > > maven.repo.list= central > maven.repo.central=file://astrodev001\\development$\\maven > maven.repo.central.directory=repository > > But when i try to upload an artifact i got an error that > seems due to the fact that the plugin calls ssh. Now there's > not reason to call ssh under windows especially since i am in > FILE modality. > > > Here's the output: > > jar:jar: > [jar] Building jar: D:\Projects\Base\Dao\target\Base-Dao-1.0.jar > > [echo] > Moving target/Base-Dao-1.0.jar to the > repository/Base/jars on file://astrodev001\development$\maven > > BUILD FAILED > File...... file:/C:/Documents and > Settings/mamato/.maven/plugins/maven-deploy-plugin-1.1/ > Element... ant:exec > Line...... 96 > Column.... 53 > Execute failed: java.io.IOException: CreateProcess: ssh -l > maven file://astrodev001\development$\maven "mkdir -p > repository/Base/jars" error=2 Total time: 10 seconds Finished > at: Tue May 18 09:16:55 CEST 2004 > > Thanks for any help > Max > > --------------------------------------------------------------------- > 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]