- Is there a way to pause the maven execution flow to provide a command prompt so user can input text.
- Then I would like the provided text to be stored in a maven properties.
- If the user input could be masked that would be a bonus.
This would be really useful to avoid storing passwords in pom.
Many Thanks
You can catch a user input using maven-antrun-plugin.
The following example show how ask current user the new project version.
You can run this feature by calling :
Some explanations :
org.apache.ant:ant:1.8.4 to avoid
https://issues.apache.org/bugzilla/show_bug.cgi?id=51161