mirror of https://github.com/apache/maven.git
[MNG-4433] [regression] command line option "-update-snapshots" does not work for parent POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c10f412029
commit
27ff5d5c41
|
@ -965,6 +965,7 @@ public class DefaultMavenExecutionRequest
|
|||
projectBuildingRequest.setPluginArtifactRepositories( getPluginArtifactRepositories() );
|
||||
projectBuildingRequest.setRepositoryCache( getRepositoryCache() );
|
||||
projectBuildingRequest.setOffline( isOffline() );
|
||||
projectBuildingRequest.setForceUpdate( isUpdateSnapshots() );
|
||||
projectBuildingRequest.setServers( getServers() );
|
||||
projectBuildingRequest.setMirrors( getMirrors() );
|
||||
projectBuildingRequest.setProxies( getProxies() );
|
||||
|
|
|
@ -166,6 +166,7 @@ class RepositoryModelResolver
|
|||
request.setOffline( projectBuildingRequest.isOffline() );
|
||||
request.setCache( projectBuildingRequest.getRepositoryCache() );
|
||||
request.setTransferListener( projectBuildingRequest.getTransferListener() );
|
||||
request.setForceUpdate( projectBuildingRequest.isForceUpdate() );
|
||||
|
||||
ArtifactResolutionResult result = repositorySystem.resolve( request );
|
||||
|
||||
|
|
Loading…
Reference in New Issue