You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2010/09/21 14:45:38 UTC
[jira] Commented: (MNG-4830) Add helper component to build
MavenExecutionRequest from cli args (String[] args)
[ http://jira.codehaus.org/browse/MNG-4830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235922#action_235922 ]
Jason van Zyl commented on MNG-4830:
------------------------------------
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.
> Add helper component to build MavenExecutionRequest from cli args (String[] args)
> ---------------------------------------------------------------------------------
>
> Key: MNG-4830
> URL: http://jira.codehaus.org/browse/MNG-4830
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Bootstrap & Build, Command Line
> Affects Versions: 3.0-beta-3
> Reporter: Olivier Lamy
>
> 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 ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira