Interface ArtifactResolverPostProcessor

    • Method Detail

      • postProcess

        void postProcess​(RepositorySystemSession session,
                         java.util.List<ArtifactResult> artifactResults)
        Receives resolver results just before it would return it to caller. Is able to generate "resolution failure" by augmenting passed in ArtifactResults (artifacts should be "unresolved" and exceptions added).

        Implementations must be aware that the passed in list of ArtifactResults may have failed resolutions, best to check that using ArtifactResult.isResolved() method.

        The implementations must be aware that this call may be "hot", so it directly affects the performance of resolver in general.