[MNG-5137] Reactor resolution does not work for forked multi module builds

Submitted by: Stuart McCulloch

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151421 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2011-07-27 10:39:37 +00:00
parent f8ca95ef39
commit 5c79de69e7
1 changed files with 6 additions and 1 deletions

View File

@ -222,7 +222,12 @@ class ReactorReader
if ( project != null )
{
return find( project, artifact );
File file = find( project, artifact );
if ( file == null && project != project.getExecutionProject() )
{
file = find( project.getExecutionProject(), artifact );
}
return file;
}
return null;