Class UserPropertiesArtifactRelocationSource
java.lang.Object
org.apache.maven.repository.internal.relocation.UserPropertiesArtifactRelocationSource
- All Implemented Interfaces:
 MavenArtifactRelocationSource
@Singleton
@Named("userProperties")
@Priority(50)
@Deprecated(since="4.0.0")
public final class UserPropertiesArtifactRelocationSource
extends Object
implements MavenArtifactRelocationSource
Deprecated.
Relocation source from user properties.
- Since:
 - 4.0.0
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.artifact.ArtifactrelocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult, Model model) Deprecated.ReturnsArtifactinstance where to relocate to, ornull. 
- 
Field Details
- 
NAME
 
 - 
 - 
Constructor Details
- 
UserPropertiesArtifactRelocationSource
public UserPropertiesArtifactRelocationSource()Deprecated. 
 - 
 - 
Method Details
- 
relocatedTarget
public org.eclipse.aether.artifact.Artifact relocatedTarget(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorResult artifactDescriptorResult, Model model) throws org.eclipse.aether.resolution.ArtifactDescriptorException Deprecated.Description copied from interface:MavenArtifactRelocationSourceReturnsArtifactinstance where to relocate to, ornull.- Specified by:
 relocatedTargetin interfaceMavenArtifactRelocationSource- Parameters:
 session- The session, nevernull.artifactDescriptorResult- 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
 
 - 
 
maven-api-impljar instead