[
https://issues.apache.org/jira/browse/MSHARED-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974503#comment-16974503
]
Robert Scholte commented on MSHARED-843:
----------------------------------------
Pretty close: maven-dependency must provide one implementation of a visitor.
There will be new methods on the collector, something like {{void
visit(ProjectBuildingRequest,Model, DependencyVisitor),
https://github.com/apache/maven-artifact-transfer/blob/master/src/main/java/org/apache/maven/shared/transfer/dependencies/collect/internal/Maven31CollectorResult.java#L53-L83
already shows how the repositories are collected with a visitor, but as said:
we might open this up so people can get creative and define their own visitors.
> Provide artifacts in CollectorResult when collectDependencies
> --------------------------------------------------------------
>
> Key: MSHARED-843
> URL: https://issues.apache.org/jira/browse/MSHARED-843
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-artifact-transfer
> Reporter: Pim Moerenhout
> Priority: Minor
>
> To resolve MDEP-648, to list all repositories and the POM's where these
> repositories are defined, the collectDependencies in DependencyCollector
> should also return the found artifact without resolving them.
> The CollectorResult could define the interface:
> List<Artifact> getArtifacts()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)