mirror of https://github.com/apache/maven.git
o Accounted for refactoring of aether-api
This commit is contained in:
parent
02927ead50
commit
03b0269579
|
@ -125,8 +125,8 @@ public static DefaultRepositorySystemSession newSession()
|
|||
session.setArtifactDescriptorPolicy( new SimpleArtifactDescriptorPolicy( true, true ) );
|
||||
|
||||
Properties sysProps = System.getProperties();
|
||||
session.setSystemProps( sysProps );
|
||||
session.setConfigProps( sysProps );
|
||||
session.setSystemProperties( sysProps );
|
||||
session.setConfigProperties( sysProps );
|
||||
|
||||
return session;
|
||||
}
|
||||
|
|
|
@ -463,9 +463,9 @@ else if ( request.isUpdateSnapshots() )
|
|||
|
||||
session.setRepositoryListener( eventSpyDispatcher.chainListener( new LoggingRepositoryListener( logger ) ) );
|
||||
|
||||
session.setUserProps( request.getUserProperties() );
|
||||
session.setSystemProps( request.getSystemProperties() );
|
||||
session.setConfigProps( configProps );
|
||||
session.setUserProperties( request.getUserProperties() );
|
||||
session.setSystemProperties( request.getSystemProperties() );
|
||||
session.setConfigProperties( configProps );
|
||||
|
||||
return session;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue