o Accounted for refactoring of aether-api

This commit is contained in:
Benjamin Bentmann 2012-03-18 16:52:54 +01:00
parent 02927ead50
commit 03b0269579
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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;
}