mirror of https://github.com/apache/maven.git
o Fixed typos
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1073948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ed12e0a541
commit
c38e3d0c49
|
@ -160,7 +160,7 @@ public class DefaultProjectBuilder
|
|||
try
|
||||
{
|
||||
DefaultDependencyResolutionRequest resolution =
|
||||
new DefaultDependencyResolutionRequest( project, configuration.getRepositorySession() );
|
||||
new DefaultDependencyResolutionRequest( project, config.session );
|
||||
resolutionResult = dependencyResolver.resolve( resolution );
|
||||
}
|
||||
catch ( DependencyResolutionException e )
|
||||
|
@ -175,7 +175,7 @@ public class DefaultProjectBuilder
|
|||
Collections.singletonList( project.getArtifact().getId() ), null );
|
||||
|
||||
// Maven 2.x quirk: an artifact always points at the local repo, regardless whether resolved or not
|
||||
LocalRepositoryManager lrm = configuration.getRepositorySession().getLocalRepositoryManager();
|
||||
LocalRepositoryManager lrm = config.session.getLocalRepositoryManager();
|
||||
for ( Artifact artifact : artifacts )
|
||||
{
|
||||
if ( !artifact.isResolved() )
|
||||
|
|
Loading…
Reference in New Issue