You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aaron Digulla (JIRA)" <ji...@codehaus.org> on 2007/02/19 11:06:52 UTC

[jira] Commented: (MNG-2722) Create a strategy for providing sane default values in the MavenExecutionRequest

    [ http://jira.codehaus.org/browse/MNG-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87920 ] 

Aaron Digulla commented on MNG-2722:
------------------------------------

This seems to be fixed with the latest embedder sources (2.1.0.20070213-1647)

> Create a strategy for providing sane default values in the MavenExecutionRequest
> --------------------------------------------------------------------------------
>
>                 Key: MNG-2722
>                 URL: http://jira.codehaus.org/browse/MNG-2722
>             Project: Maven 2
>          Issue Type: Task
>          Components: Embedding
>            Reporter: Jason van Zyl
>         Attachments: embedder-start-twice.patch
>
>
> Ideally an Embedder user should be able to do something like:
> MavenEmbedder embedder = new MavenEmbedder();
> MavenExecutionRequestion request = new DefaultMavenExecutionRequestion()
>   .setBasedir( directory )
>   .setGoals( Arrays.asList( new String[]{ "package" } ) );
> embedder.execute( request );
> And this should work.

-- 
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