o Fixed missing offline flag propagation

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803562 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-12 15:40:24 +00:00
parent 7c9ffe28c6
commit d5c8697e97
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,8 @@ public class DefaultProjectBuilder
.setArtifact( artifact ) .setArtifact( artifact )
.setCache( configuration.getRepositoryCache() ) .setCache( configuration.getRepositoryCache() )
.setLocalRepository( configuration.getLocalRepository() ) .setLocalRepository( configuration.getLocalRepository() )
.setRemoteRepositories( configuration.getRemoteRepositories() ); .setRemoteRepositories( configuration.getRemoteRepositories() )
.setOffline( configuration.isOffline() );
// FIXME setTransferListener // FIXME setTransferListener
ArtifactResolutionResult result = repositorySystem.resolve( request ); ArtifactResolutionResult result = repositorySystem.resolve( request );