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