Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.6.1
-
None
-
None
Description
`new ChainedDependencyGraphTransformer` seems make no sense here.
public static DefaultRepositorySystemSession newSession() { // ... DependencyGraphTransformer transformer = new ConflictResolver( new NearestVersionSelector(), new JavaScopeSelector(), new SimpleOptionalitySelector(), new JavaScopeDeriver() ); // seems unnecessary new ChainedDependencyGraphTransformer( transformer, new JavaDependencyContextRefiner() ); session.setDependencyGraphTransformer( transformer ); // ... }