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]
>
>

Reply via email to