Try specify version number 1.3 for <artifactId>maven-antrun-
plugin</artifactId>
Thanks.
LJ
On Fri, Nov 7, 2008 at 12:51 PM, Durbha, Praveen (GE Healthcare) <
[EMAIL PROTECTED]> wrote:
> Kuno/Wayne,
>
> I am able to get it to work using 1.6.5 only problem is, like L.J
> mentioned, any <echo> statements after the command is executed are not
> executed.
>
> <sshexec host="gbi-test" username="Administrator" password="Gbi123Test123"
> trust="true" command="\dev\install.exe -i silent" failonerror="true"
> outputproperty="installprogress"/>
> <echo message="Commencing installation ..."/>
> <echo message="${installprogress}"/>
>
> However, the build fails when the dependency is changed to 1.7.1 since the
> ant jars in the maven repository haven't been upgarded to this
> version..correct?
>
> Thanks!
>
> -----Original Message-----
> From: L. J. [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 07, 2008 11:37 AM
> To: Maven Users List
> Subject: Re: Problem with SSHEXEC Ant Task
>
> You should use 1.7.1 rather than 1.6.5. There was a bug in 1.6.x that
> stdout after sshexec was executed will disappear.
>
> LJ
>
> On Fri, Nov 7, 2008 at 1:15 AM, Baeriswyl Kuno - Extern (IT-BA-MV)
> <[EMAIL PROTECTED]> wrote:
>
> > hello, had the same problem recently:
> >
> > <plugin>
> >
> <artifactId>maven-antrun-plugin</artifactId>
> > <dependencies>
> > <dependency>
> > <groupId>ant</groupId>
> >
> > <artifactId>ant-jsch</artifactId>
> > <version>1.6.5</version>
> > </dependency>
> > <dependency>
> > <groupId>jsch</groupId>
> >
> > <artifactId>jsch</artifactId>
> > <version>0.1.29</version>
> > </dependency>
> > </dependencies>
> > </plugin>
> > Kuno
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Wayne Fay [mailto:[EMAIL PROTECTED]
> > Gesendet: Freitag, 7. November 2008 09:35
> > An: Maven Users List
> > Betreff: Re: Problem with SSHEXEC Ant Task
> >
> >
> > > I downloaded the JAR file (jsch.jar) into my ant\lib...What other
> > > JAR files are needed? Any ideas?
> >
> > Maven does not know about nor care about your Ant installation. The
> > only jar files it cares about are those which you have specified in
> > the pom file as dependencies or plugins, and nearly all of them are
> > located in your repo cache.
> >
> > You probably need to add the jsch artifact as a dependency to the
> > maven-antrun-plugin in your pom.
> >
> > Wayne
> >
> > ---------------------------------------------------------------------
> > 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]
>
>