maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Graham (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MANTRUN-92) sshexec task inside maven-ant-run and stdout problems
Date Wed, 20 Jan 2010 18:57:55 GMT

    [ http://jira.codehaus.org/browse/MANTRUN-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207650#action_207650
] 

Philip Graham commented on MANTRUN-92:
--------------------------------------

ant-jsch 1.7.1 is now in the central repository under groupId org.apache.ant rather than groupId
ant.

<groupId>org.apache.ant</groupId>
<artifactId>ant-jsch</artifactId>
<version>1.7.1</version>

> sshexec task inside maven-ant-run and stdout problems
> -----------------------------------------------------
>
>                 Key: MANTRUN-92
>                 URL: http://jira.codehaus.org/browse/MANTRUN-92
>             Project: Maven 2.x Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Issue seen on Windows and Linux
>            Reporter: Mateusz Stefek
>         Attachments: myapp.tgz
>
>
> When the sshexec ant task is executed by the maven-ant-run plugin:
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-antrun-plugin</artifactId>
>   <version>1.1</version>
>   <executions>
>     <execution>
>       <id>server-copy</id>
>         <goals>
>           <goal>run</goal>
>         </goals>
>         <phase>package</phase>
>         <configuration>
>                             <tasks>
>                                 <echo message="Step 1"/>
>                                 <sshexec host="yourhost" username="yourname" password="yourpassword"
command="echo Hello World" trust="true" />
>                                 <echo message="Step 2"/>
>                                 <mkdir dir="c:\xyz"/>
>                             </tasks>
>       </configuration>
>       </execution>
>   </executions>
>   <dependencies>
>       <dependency>
>         <groupId>ant</groupId>
>         <artifactId>ant-jsch</artifactId>
>         <version>1.6.2</version>
>   </dependency>
>  </plugin>
> maven process doesn't output anything after "Hello World". However, the build continues
fine after that. Only the output console seems to be closed by sshexec.
> A simple example project attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message