You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2019/07/11 09:49:17 UTC

[maven] branch MNG-6704 created (now 13a4d9a)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-6704
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at 13a4d9a  [MNG-6704] MavenRepositorySystemUtils.newSession() misses assignment

This branch includes the following new commits:

     new 13a4d9a  [MNG-6704] MavenRepositorySystemUtils.newSession() misses assignment

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven] 01/01: [MNG-6704] MavenRepositorySystemUtils.newSession() misses assignment

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-6704
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 13a4d9aec3660febcce2da85fd6f89ee710b2eb0
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Thu Jul 11 11:48:58 2019 +0200

    [MNG-6704] MavenRepositorySystemUtils.newSession() misses assignment
---
 .../apache/maven/repository/internal/MavenRepositorySystemUtils.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java
index 1b11cb3..97035b3 100644
--- a/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java
+++ b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java
@@ -106,7 +106,7 @@ public final class MavenRepositorySystemUtils
         DependencyGraphTransformer transformer =
             new ConflictResolver( new NearestVersionSelector(), new JavaScopeSelector(),
                                   new SimpleOptionalitySelector(), new JavaScopeDeriver() );
-        new ChainedDependencyGraphTransformer( transformer, new JavaDependencyContextRefiner() );
+        transformer = new ChainedDependencyGraphTransformer( transformer, new JavaDependencyContextRefiner() );
         session.setDependencyGraphTransformer( transformer );
 
         DefaultArtifactTypeRegistry stereotypes = new DefaultArtifactTypeRegistry();
@@ -127,7 +127,7 @@ public final class MavenRepositorySystemUtils
         session.setArtifactDescriptorPolicy( new SimpleArtifactDescriptorPolicy( true, true ) );
 
         final Properties systemProperties = new Properties();
-        
+
         // MNG-5670 guard against ConcurrentModificationException
         // MNG-6053 guard against key without value
         Properties sysProp = System.getProperties();