Deprecated API
Contents
-
Deprecated ClassesClassDescriptionsince 2.0, the artifact types should be defined by the resolver consumer
-
Deprecated FieldsFieldDescriptionsince 2.0, this property should be defined by the resolver consumer along with the
ArtifactType
implementationsince 2.0, the semantic carried by this property should be defined in a customDependencyTraverser
implementation provided by the resolver consumersince 2.0, the semantic carried by this property and the fact this property is coupled to Resolver 1.x "system" scope (that was delegated to consumer application) implies this property should not be used anymore, instead, theScopeManager
exposed via methodRepositorySystemSession.getScopeManager()
should be used.
-
Deprecated MethodsMethodDescriptionUse
Artifact.getPath()
instead.UseArtifact.setPath(Path)
instead.UseMergeableMetadata.merge(Path, Path)
instead.UseMetadata.getPath()
instead.UseMetadata.setPath(Path)
instead.UseLocalArtifactResult.getPath()
instead.UseLocalArtifactResult.setPath(Path)
instead.UseLocalMetadataResult.getPath()
instead.UseLocalMetadataResult.setPath(Path)
instead.UseLocalRepository.getBasePath()
instead.This method should not be used. Since version 2 Resolver internally distinguishes between artifact update policy and metadata update policy. This method was left only to preserve binary compatibility, and in reality invokesRepositoryPolicy.getArtifactUpdatePolicy()
.UseRepositoryEvent.Builder.setPath(Path)
instead.UseRepositoryEvent.getPath()
instead.UseArtifactResult.addException(ArtifactRepository, Exception)
method instead.UseTransferResource.getPath()
instead.
-
Deprecated ConstructorsConstructorDescriptionThis way of creating session should be avoided, is in place just to offer backward binary compatibility with Resolver 1.x using code, but offers reduced functionality. Use
RepositorySystem.createSessionBuilder()
instead.UseLocalRepository(Path)
instead.UseLocalRepository(Path, String)
instead.