I was curious, there is nice stuff in there :) ear an ejb jelly script use the <artifact:deploy ... goal to deploy, this goal call some java code.
The jar plugin act differently and uses some jelly scripts to do the job, in a unix maner. There are some isues in Jira that may be caused by that (probably MPJAR-20, MPJAR-17, MPJAR-5 and this issue is documented in MPJAR-2) You may convert the jelly script to use the same method that ear and ejb uses (and maybe post the fix). This should be straigth foward to do. If you need more details let me know. -----Original Message----- From: Heiko Kundlacz [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 5:36 PM To: Maven Users List Subject: Re: [jar:deploy] Problem on Windowsitght Hi I have installed cygwin and SSHD. This works fine, instead of deploying snapshots. Because on Windows there isn't a chance to create symbolic links. If you create symbolic links on windows, cygwin will create a .ink file. But if you change the deploy plugin, it is possibly to create hardlinks. Hardlinks are real copies. Hope this helps Heiko Jeffrey, Rashid wrote: >Hi > >Our team's remote repository lives on a Windows machine. By issuing a ><jar:deploy> goal I get this error which seems to be expecting a target Unix >machine: > >Execute failed: java.io.IOException: CreateProcess: ssh -l rashid >//ost-java-dev/javadch >ome "mkdir -p //ost-java-dev/javadchome/respository/com.sky.utils/jars" >error=2 > >Although this goal doesn't work for me: ><jar:deploy> invokes <deploy:artifact> > >...these goals work fine: ><ejb:deploy> invokes <artifact:deploy> ><war:deploy> invokes <artifact:deploy> ><ear:deploy> invokes <artifact:deploy> > >NOTE: <deploy:artifact> vs. <artifact:deploy> > >As a work around, I have written a postGoal for <jar:jar> that calls ><artifact:deploy>, which successfully uploads the jar to the remote >repository, but it's not a satisfactory long term solution. > >How can I deploy jars to our remote repository in the same way that we do >for ears/ejbs/ears? > >Thanks, Rashid. > > > >----------------------------------------------------------------------- >Information in this email may be privileged, confidential and is >intended exclusively for the addressee. The views expressed may >not be official policy, but the personal views of the originator. >If you have received it in error, please notify the sender by return >e-mail and delete it from your system. You should not reproduce, >distribute, store, retransmit, use or disclose its contents to anyone. > >Please note we reserve the right to monitor all e-mail >communication through our internal and external networks. >----------------------------------------------------------------------- > > > > -- ------------------------------------------------------ Heiko Kundlacz | MailTo: [EMAIL PROTECTED] Qnamic AG | Tel: +41 62 209 7056 Fabrikstr. 10 | Natel: +41 78 861 4006 4614 Haegendorf | Fax: +41 62 209 7044 Switzerland | Homepage: http://www.qnamic.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]
