Piotr Tabor napisał(a):
> David J. M. Karlsen napisał(a):
>   
>> Hi - I expirience the same - but only when running a multiproject:
>>
>> parent
>>  -ejb-project (generating ejb and ejb-client)
>>  -client-project (using ejb-client)
>>
>> If I try a multibuild it fails, if I cd into client-project and do mvn
>> clean install it succeeds.
>>
>>     

Hello,

I think I have found the bug.
Proposition of the patch (and test) is attached to
http://jira.codehaus.org/browse/MNG-2921.

The problem was MavenProject.replaceWithActiveArtifact method, which was
replacing  given artifact with
an another artifact during the dependency resolution process.  The
problem is "scope" that was replaced by
activeProjectArtifact scope (null).

I think that the scope should be copied (protected) from the original
artifact instead of copying the active project artifact's scope.

The bug must be resolved in 2.0.7 - it's critical.

Thanks,
Piotr Tabor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to