[
http://jira.codehaus.org/browse/MNG-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_85989
]
Aaron Digulla commented on MNG-2722:
------------------------------------
After some more tests, my patch doesn't seem the fix the localRepository
problem.
localRepository is only read when it is specified in ~/.m2/settings.xml. If it
is specified in the file specified with setGlobalSettingsFile(), it's ignored.
It also doesn't fix the issue MNGECLIPSE-231 as I had hoped :-(
All I can say is that defaultsPopulator doesn't fill in the correct local
repository when it is called in MavenEmbedder.
> 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