mirror of https://github.com/apache/maven.git
o don't need to process repositories, they will be processed up front
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751087 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c67176f502
commit
6f2e00b622
|
@ -243,29 +243,7 @@ public class MavenProject
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setRemoteArtifactRepositories( projectBuilderConfiguration.getRemoteRepositories() );
|
setRemoteArtifactRepositories( projectBuilderConfiguration.getRemoteRepositories() );
|
||||||
|
|
||||||
/*
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Set<Repository> repoSet = new LinkedHashSet<Repository>();
|
|
||||||
if ( ( model.getRepositories() != null ) && !model.getRepositories().isEmpty() )
|
|
||||||
{
|
|
||||||
repoSet.addAll( model.getRepositories() );
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( ( model.getPluginRepositories() != null ) && !model.getPluginRepositories().isEmpty() )
|
|
||||||
{
|
|
||||||
repoSet.addAll( model.getPluginRepositories() );
|
|
||||||
}
|
|
||||||
|
|
||||||
setRemoteArtifactRepositories( repositorySystem.buildArtifactRepositories( new ArrayList<Repository>( repoSet ) ) );
|
|
||||||
}
|
|
||||||
catch ( Exception e )
|
|
||||||
{
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue