[ 
https://jira.codehaus.org/browse/MEXEC-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=280196#comment-280196
 ] 

Robert Scholte commented on MEXEC-102:
--------------------------------------

This looks more like an Ant-problem. As long as Ant is not ending its process, 
the exec-maven-plugin will wait.
You might want to use the 
[maven-antrun-plugin|http://maven.apache.org/plugins/maven-antrun-plugin/] in 
this case or use an other version of Ant.

> Exec task ant waiting for user input w/ multi-module build
> ----------------------------------------------------------
>
>                 Key: MEXEC-102
>                 URL: https://jira.codehaus.org/browse/MEXEC-102
>             Project: Maven 2.x Exec Plugin
>          Issue Type: Improvement
>          Components: exec
>    Affects Versions: 1.2.1
>         Environment: windows 7
> maven 3.0.3
>            Reporter: Dan Rollo
>            Priority: Minor
>
> When building a sub-module that uses the exec plugin to run an Ant command, 
> the console waits for a user to press enter.
> This wait only occurs when I build from the parent module and only when I run 
> the 'site' command.
> I tried adding the "-noinput" argument to the ant command, but the wait still 
> occurs when building from the top level project.
> There is no wait when building the sub-module site by itself.
> A snippet from my sub-module pom is below:
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>exec-maven-plugin</artifactId>
>                 <version>1.2.1</version>
>                 <executions>
>                     <execution>
>                         <id>get-server-jar</id>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>exec</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <configuration>
>                     <workingDirectory>../remoteinstall/</workingDirectory>
>                     <executable>cmd</executable>
>                     <arguments>
>                         <argument>/c</argument>
>                         <argument>ant</argument>
>                         <argument>deploy-fitnesse-server</argument>
>                         
> <argument>-Dfitnesse.dir=${project.build.outputDirectory}/../</argument>
>                         <argument>-noinput</argument>
>                     </arguments>
>                 </configuration>
>             </plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to