Interface MavenArtifactRelocationSource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.aether.artifact.Artifact relocatedTarget​(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, org.apache.maven.model.Model model)
      Returns Artifact instance where to relocate to, or null.
    • Method Detail

      • relocatedTarget

        org.eclipse.aether.artifact.Artifact relocatedTarget​(org.eclipse.aether.RepositorySystemSession session,
                                                             org.eclipse.aether.resolution.ArtifactDescriptorResult result,
                                                             org.apache.maven.model.Model model)
                                                      throws org.eclipse.aether.resolution.ArtifactDescriptorException
        Returns Artifact instance where to relocate to, or null.
        Parameters:
        session - The session, never null.
        result - The artifact descriptor result, never null.
        model - The artifact model, never null.
        Returns:
        The Artifact to relocate to, or null if no relocation wanted.
        Throws:
        org.eclipse.aether.resolution.ArtifactDescriptorException