mojohaus / mojohaus/exec-maven-plugin
Support interactive use
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 191
- Forks
- 111
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
It seems that the plugin has some support for running interactive programs. I am trying to run activator from play framework when I enable a specific profile. This seems to work, except that the prompts and the text I enter do not appear until after I press return.
This may be because the input and output is being buffered and beyond the ability of the plugin to fix.
I was able to get a similar effect with this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>runActivator</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bash</executable>
</configuration>
</execution>
</executions>
</plugin>
bash is the standard Linux shell, although I was running it on a Mac.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior by running Activator through the plugin with the shown profile configuration on macOS or Linux. Inspect how the plugin connects child-process input and output, and compare the behavior with the referenced exec-maven-plugin setup. Done means interactive prompts and typed text appear without waiting for Return.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, java
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100