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 final class MavenRepositorySystemUtils
|
||||||
session.setArtifactDescriptorPolicy( new SimpleArtifactDescriptorPolicy( true, true ) );
|
session.setArtifactDescriptorPolicy( new SimpleArtifactDescriptorPolicy( true, true ) );
|
||||||
|
|
||||||
Properties sysProps = System.getProperties();
|
Properties sysProps = System.getProperties();
|
||||||
session.setSystemProps( sysProps );
|
session.setSystemProperties( sysProps );
|
||||||
session.setConfigProps( sysProps );
|
session.setConfigProperties( sysProps );
|
||||||
|
|
||||||
return session;
|
return session;
|
||||||
}
|
}
|
||||||
|
|
|
@ -463,9 +463,9 @@ public class DefaultMaven
|
||||||
|
|
||||||
session.setRepositoryListener( eventSpyDispatcher.chainListener( new LoggingRepositoryListener( logger ) ) );
|
session.setRepositoryListener( eventSpyDispatcher.chainListener( new LoggingRepositoryListener( logger ) ) );
|
||||||
|
|
||||||
session.setUserProps( request.getUserProperties() );
|
session.setUserProperties( request.getUserProperties() );
|
||||||
session.setSystemProps( request.getSystemProperties() );
|
session.setSystemProperties( request.getSystemProperties() );
|
||||||
session.setConfigProps( configProps );
|
session.setConfigProperties( configProps );
|
||||||
|
|
||||||
return session;
|
return session;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue