Interface MavenArtifactRelocationSource
- All Known Implementing Classes:
DistributionManagementArtifactRelocationSource
,UserPropertiesArtifactRelocationSource
Deprecated.
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) Deprecated.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 Deprecated.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
-
maven-api-impl
jar instead