Interface MavenArtifactRelocationSource

All Known Implementing Classes:
DistributionManagementArtifactRelocationSource, UserPropertiesArtifactRelocationSource

@Deprecated(since="4.0.0") public interface MavenArtifactRelocationSource
Deprecated.
since 4.0.0, use maven-api-impl jar instead
Maven relocation source. Note: implementations of this component should avoid the "default" name (has special meaning in Eclipse Sisu) and explicitly order implementations using Sisu priorities.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.aether.artifact.Artifact
    relocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model)
    Deprecated.
    Returns Artifact instance where to relocate to, or null.
  • Method Details

    • relocatedTarget

      org.eclipse.aether.artifact.Artifact relocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model) throws org.eclipse.aether.resolution.ArtifactDescriptorException
      Deprecated.
      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