From 03b0269579da71d4e977679e3ef272c443732718 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Sun, 18 Mar 2012 16:52:54 +0100 Subject: [PATCH] o Accounted for refactoring of aether-api --- .../repository/internal/MavenRepositorySystemUtils.java | 4 ++-- maven-core/src/main/java/org/apache/maven/DefaultMaven.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java b/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java index c88e341ff7..d603638956 100644 --- a/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java +++ b/maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java @@ -125,8 +125,8 @@ public final class MavenRepositorySystemUtils session.setArtifactDescriptorPolicy( new SimpleArtifactDescriptorPolicy( true, true ) ); Properties sysProps = System.getProperties(); - session.setSystemProps( sysProps ); - session.setConfigProps( sysProps ); + session.setSystemProperties( sysProps ); + session.setConfigProperties( sysProps ); return session; } diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java index eae73b47e4..28769e73d3 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java @@ -463,9 +463,9 @@ public class DefaultMaven 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; }