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:
Benjamin Bentmann 2011-02-23 21:07:42 +00:00
parent ed12e0a541
commit c38e3d0c49
1 changed files with 2 additions and 2 deletions

View File

@ -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() )