Deprecated API
Contents
-
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.UseLocalRepository(java.nio.file.Path)instead.