mirror of https://github.com/apache/maven.git
o look for the pom first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
73adb2f34f
commit
0c021975aa
|
@ -34,6 +34,16 @@ public class ReactorArtifactRepository
|
|||
MavenProject project = reactorProjects.get( projectKey );
|
||||
|
||||
if ( project != null )
|
||||
{
|
||||
if ( artifact.getType().equals( "pom" ) )
|
||||
{
|
||||
artifact.setFile( project.getFile() );
|
||||
|
||||
artifact.setFromAuthoritativeRepository( true );
|
||||
|
||||
artifact.setResolved( true );
|
||||
}
|
||||
else
|
||||
{
|
||||
File artifactFile = project.getArtifact().getFile();
|
||||
|
||||
|
@ -63,13 +73,6 @@ public class ReactorArtifactRepository
|
|||
artifact.setResolved( true );
|
||||
}
|
||||
*/
|
||||
else if ( artifact.getType().equals( "pom" ) )
|
||||
{
|
||||
artifact.setFile( project.getFile() );
|
||||
|
||||
artifact.setFromAuthoritativeRepository( true );
|
||||
|
||||
artifact.setResolved( true );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue