diff --git a/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java b/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java index 9b8a232318..e85dbc78a6 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java @@ -63,6 +63,7 @@ public class DefaultArtifactFilterManager implements ArtifactFilterManager artifacts.add( "wagon-provider-api" ); artifacts.add( "wagon-file" ); artifacts.add( "wagon-http-lightweight" ); + artifacts.add( "wagon-manager" ); artifacts.add( "wagon-ssh" ); artifacts.add( "wagon-ssh-external" ); 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 69bb0f7c7c..60be191963 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java @@ -538,10 +538,8 @@ public class DefaultMaven protected MavenSession createSession( MavenExecutionRequest request, ReactorManager rpm, EventDispatcher dispatcher ) - { - return new MavenSession( container, request.getSettings(), request.getLocalRepository(), dispatcher, rpm, - request.getGoals(), request.getBaseDirectory(), request.getProperties(), - request.getStartTime() ); + { + return new MavenSession( container, request, dispatcher, rpm ); } // ----------------------------------------------------------------------