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

Jason van Zyl commented on MNG-2851:
------------------------------------

Milos, this has effectively been done in the embedder for now which is fine 
with me. We can add tests and improve it as we go.

John, they are needed when not executing but using the 
readProjectWithDependencies in the embedder. It's how IDE integration 
loads/imports projects and updates the POM without executing a goal/phase.

> The artifact handlers must be loaded upfront for all operations
> ---------------------------------------------------------------
>
>                 Key: MNG-2851
>                 URL: http://jira.codehaus.org/browse/MNG-2851
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.1.x
>            Reporter: Jason van Zyl
>             Fix For: 2.1-alpha-1
>
>
> check the test I've added to MavenEmbedderTest. Without this loading
> of project (without deps) the artifact handlers don't get taken into
> account when loading the project.
> the artifact handlers are added somewhere in lifecycle executor which
> is not even touched on readProjectWithDependencies().
> Milos
> On 2/27/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> Hey,
> Just wondering about reading the project twice in read project with
> dependencies. Why are you trying to find the artifact handlers once
> and then reading the project again?
> Just wondering if you copied this stuff from internal components why
> it's not working. Is this for the case where you've added new ones
> after the embedder has started?

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