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.Artifact
relocatedTarget
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult result, Model model) ReturnsArtifact
instance 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 ReturnsArtifact
instance where to relocate to, ornull
.- Parameters:
session
- The session, nevernull
.result
- The artifact descriptor result, nevernull
.model
- The artifact model, nevernull
.- Returns:
- The
Artifact
to relocate to, ornull
if no relocation wanted. - Throws:
org.eclipse.aether.resolution.ArtifactDescriptorException
-