You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/03/11 19:04:54 UTC
[GitHub] [maven-resolver] cstamas commented on a change in pull request #158: MRESOLVER-247: Introduce skipper to avoid unnecessary dependency reso…
cstamas commented on a change in pull request #158:
URL: https://github.com/apache/maven-resolver/pull/158#discussion_r824996140
##########
File path: maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/collect/DefaultDependencyCollector.java
##########
@@ -253,7 +253,9 @@ public CollectResult collectDependencies( RepositorySystemSession session, Colle
DefaultVersionFilterContext versionContext = new DefaultVersionFilterContext( session );
- Args args = new Args( session, trace, pool, context, versionContext, request );
+ Args args =
+ new Args( session, trace, pool, context, versionContext, request,
+ new DependencyResolutionSkipper() );
Review comment:
Session is here, so based on configUtil results using session, one could create instance of DependencyResolutionSkipper or NeverSkipper 😄
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org