Interface MavenArtifactRelocationSource
-
- All Known Implementing Classes:
DistributionManagementArtifactRelocationSource,UserPropertiesArtifactRelocationSource
public interface MavenArtifactRelocationSourceMaven 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:
- 3.10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.aether.artifact.ArtifactrelocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, org.apache.maven.model.Model model)ReturnsArtifactinstance where to relocate to, ornull.
-
-
-
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.ArtifactDescriptorExceptionReturnsArtifactinstance 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
-
-