mirror of https://github.com/apache/maven.git
[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:
parent
f8ca95ef39
commit
5c79de69e7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue