Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.0-beta-3
-
Fix Version/s: None
-
Component/s: Bootstrap & Build, Command Line
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
currently executing maven programmatically is quite difficult because building easily a MavenExecutionRequest needs a lot of parameters, some methods to call etc...
Here a simple component which build MavenExecutionRequest from String[] args (cli arguments).
Source code is here : http://github.com/olamy/hudson-maven3-support/blob/master/maven3-listener/src/main/java/org/apache/maven/cli/MavenExecutionRequestBuilder.java.
Any objection I commit this in ASF ?
Please keep this out of the core. I don't see how this method call helps anyone. An untype String array that accepts a PrintStream? Once stuff like this goes in that we haven't thought about very much has to be supported forever. I would prefer it not go in.