mirror of https://github.com/apache/maven.git
[MNG-6704] MavenRepositorySystemUtils.newSession() misses assignment
This commit is contained in:
parent
690841e9be
commit
2d0c3bc75b
|
@ -360,7 +360,7 @@ public abstract class AbstractArtifactComponentTestCase
|
|||
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 );
|
||||
|
||||
LocalRepository localRepo = new LocalRepository( localRepository().getBasedir() );
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue