Interface MavenArtifactRelocationSource
- All Known Implementing Classes:
DistributionManagementArtifactRelocationSource,UserPropertiesArtifactRelocationSource
public interface MavenArtifactRelocationSource
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 TypeMethodDescriptionorg.eclipse.aether.artifact.ArtifactrelocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model) ReturnsArtifactinstance where to relocate to, ornull.
-
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 ReturnsArtifactinstance where to relocate to, ornull.- Parameters:
session- The session, nevernull.result- The artifact descriptor result, nevernull.model- The artifact model, nevernull.- Returns:
- The
Artifactto relocate to, ornullif no relocation wanted. - Throws:
org.eclipse.aether.resolution.ArtifactDescriptorException
-