[ 
http://jira.codehaus.org/browse/MNG-4830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235925#action_235925
 ] 

Olivier Lamy commented on MNG-4830:
-----------------------------------

The goal is here to help people using maven programmaticaly.
String array is just cli args and PrintStream is for logging.
Sure it's not perfect but building manually MavenExecutionRequest and/or 
ProjectBuildingRequest is a little bit complicated and not really documented 
(ie what are necessary objects and/or components etc...).


> 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

        

Reply via email to