Deprecate all classes in maven-compat (#1227)

This commit is contained in:
Guillaume Nodet 2023-09-06 13:28:54 +02:00 committed by GitHub
parent 0b3246381d
commit 05a76bc427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
106 changed files with 107 additions and 2 deletions

View File

@ -28,8 +28,8 @@ under the License.
<artifactId>maven-compat</artifactId>
<name>Maven Compat</name>
<description>Maven2 classes maintained as compatibility layer.</description>
<name>Maven Compat (deprecated)</name>
<description>Deprecated Maven2 classes maintained as compatibility layer.</description>
<dependencies>
<dependency>

View File

@ -24,6 +24,7 @@ package org.apache.maven.artifact;
*
*
*/
@Deprecated
public enum ArtifactScopeEnum {
compile(1),
test(2),

View File

@ -25,6 +25,7 @@ import java.util.Map;
* Type safe enumeration for the artifact status field.
*
*/
@Deprecated
public final class ArtifactStatus implements Comparable<ArtifactStatus> {
/**
* No trust - no information about status.

View File

@ -26,6 +26,7 @@ import org.codehaus.plexus.component.repository.exception.ComponentLookupExcepti
* component in the current container.
*
*/
@Deprecated
public class UnknownRepositoryLayoutException extends InvalidRepositoryException {
private final String layoutId;

View File

@ -26,6 +26,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
/**
* ArtifactDeployer
*/
@Deprecated
public interface ArtifactDeployer {
String ROLE = ArtifactDeployer.class.getName();

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.deployer;
/**
*/
@Deprecated
public class ArtifactDeploymentException extends Exception {
public ArtifactDeploymentException(String message) {
super(message);

View File

@ -51,6 +51,7 @@ import org.eclipse.aether.util.artifact.SubArtifact;
* DefaultArtifactDeployer
*/
@Named
@Deprecated
public class DefaultArtifactDeployer extends AbstractLogEnabled implements ArtifactDeployer {
@Inject

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.installer;
/**
*/
@Deprecated
public class ArtifactInstallationException extends Exception {
public ArtifactInstallationException(String message) {
super(message);

View File

@ -25,6 +25,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
/**
*/
@Deprecated
public interface ArtifactInstaller {
String ROLE = ArtifactInstaller.class.getName();

View File

@ -48,6 +48,7 @@ import org.eclipse.aether.util.artifact.SubArtifact;
*/
@Named
@Singleton
@Deprecated
public class DefaultArtifactInstaller extends AbstractLogEnabled implements ArtifactInstaller {
@Inject

View File

@ -48,6 +48,7 @@ import org.codehaus.plexus.logging.Logger;
*/
@Named
@Singleton
@Deprecated
public class DefaultWagonManager extends org.apache.maven.repository.legacy.DefaultWagonManager
implements WagonManager {

View File

@ -23,6 +23,7 @@ import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
/**
*/
@Deprecated
public interface ArtifactRepositoryFactory {
String ROLE = ArtifactRepositoryFactory.class.getName();

View File

@ -37,6 +37,7 @@ import org.eclipse.aether.RepositorySystemSession;
*/
@Named
@Singleton
@Deprecated
public class DefaultArtifactRepositoryFactory implements ArtifactRepositoryFactory {
@Inject

View File

@ -49,6 +49,7 @@ import org.eclipse.aether.repository.RemoteRepository;
* of the public API. In particular, this class can be changed or deleted without prior notice.
*
*/
@Deprecated
public class LegacyLocalRepositoryManager implements LocalRepositoryManager {
private final ArtifactRepository delegate;

View File

@ -31,6 +31,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
*/
@Named("flat")
@Singleton
@Deprecated
public class FlatRepositoryLayout implements ArtifactRepositoryLayout {
private static final char ARTIFACT_SEPARATOR = '-';

View File

@ -37,6 +37,7 @@ import org.apache.maven.artifact.repository.metadata.io.MetadataStaxWriter;
* Shared methods of the repository metadata handling.
*
*/
@Deprecated
public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
private static final String LS = System.lineSeparator();

View File

@ -29,6 +29,7 @@ import org.apache.maven.artifact.versioning.VersionRange;
* Metadata for the artifact directory of the repository.
*
*/
@Deprecated
public class ArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
private Artifact artifact;

View File

@ -51,6 +51,7 @@ import org.codehaus.plexus.logging.AbstractLogEnabled;
*/
@Named
@Singleton
@Deprecated
public class DefaultRepositoryMetadataManager extends AbstractLogEnabled implements RepositoryMetadataManager {
@Inject
private WagonManager wagonManager;

View File

@ -27,6 +27,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
* Metadata for the group directory of the repository.
*
*/
@Deprecated
public class GroupRepositoryMetadata extends AbstractRepositoryMetadata {
private final String groupId;

View File

@ -36,6 +36,7 @@ import org.eclipse.aether.metadata.Metadata;
* of the public API. In particular, this class can be changed or deleted without prior notice.
*
*/
@Deprecated
public final class MetadataBridge extends AbstractMetadata implements MergeableMetadata {
private ArtifactMetadata metadata;

View File

@ -22,6 +22,7 @@ package org.apache.maven.artifact.repository.metadata;
* Assists in handling repository metadata.
*
*/
@Deprecated
class MetadataUtils {
public static Metadata cloneMetadata(Metadata src) {

View File

@ -26,6 +26,7 @@ import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
*
* TODO not happy about the store method - they use "this"
*/
@Deprecated
public interface RepositoryMetadata extends org.apache.maven.artifact.metadata.ArtifactMetadata {
int RELEASE = 1;

View File

@ -22,6 +22,7 @@ package org.apache.maven.artifact.repository.metadata;
* Error while deploying repository metadata.
*
*/
@Deprecated
public class RepositoryMetadataDeploymentException extends Throwable {
public RepositoryMetadataDeploymentException(String message) {
super(message);

View File

@ -22,6 +22,7 @@ package org.apache.maven.artifact.repository.metadata;
* Error while installing repository metadata.
*
*/
@Deprecated
public class RepositoryMetadataInstallationException extends Throwable {
public RepositoryMetadataInstallationException(String message) {
super(message);

View File

@ -27,6 +27,7 @@ import org.apache.maven.artifact.repository.RepositoryRequest;
/**
* RepositoryMetadataManager
*/
@Deprecated
public interface RepositoryMetadataManager {
void resolve(RepositoryMetadata repositoryMetadata, RepositoryRequest repositoryRequest)

View File

@ -22,6 +22,7 @@ package org.apache.maven.artifact.repository.metadata;
* Problem storing the repository metadata in the local repository.
*
*/
@Deprecated
public class RepositoryMetadataReadException extends Exception {
public RepositoryMetadataReadException(String message) {
super(message);

View File

@ -22,6 +22,7 @@ package org.apache.maven.artifact.repository.metadata;
* Error while retrieving repository metadata from the repository.
*
*/
@Deprecated
public class RepositoryMetadataResolutionException extends Exception {
public RepositoryMetadataResolutionException(String message) {
super(message);

View File

@ -26,6 +26,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
*
* TODO split instantiation (versioning, plugin mappings) from definition
*/
@Deprecated
public class SnapshotArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
private Artifact artifact;

View File

@ -37,6 +37,7 @@ import org.apache.maven.settings.Server;
* to process a POMs dependencies.
*
*/
@Deprecated
public class ArtifactResolutionRequest implements RepositoryRequest {
private static final String LS = System.lineSeparator();

View File

@ -43,6 +43,7 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
* complex requiring a long list of checks, need to create a parent/interface/encapsulation
* for the types of exceptions
*/
@Deprecated
public class ArtifactResolutionResult {
private static final String LS = System.lineSeparator();

View File

@ -31,6 +31,7 @@ import org.apache.maven.wagon.events.TransferListener;
/**
*/
// Just hide the one method we want behind the RepositorySystem interface.
@Deprecated
public interface ArtifactResolver {
ArtifactResolutionResult resolve(ArtifactResolutionRequest request);

View File

@ -30,6 +30,7 @@ import org.codehaus.plexus.logging.Logger;
* Send resolution events to the debug log.
*
*/
@Deprecated
public class DebugResolutionListener implements ResolutionListener, ResolutionListenerForDepMgmt {
private Logger logger;

View File

@ -72,6 +72,7 @@ import org.eclipse.aether.resolution.ArtifactResult;
*/
@Named
@Singleton
@Deprecated
public class DefaultArtifactResolver implements ArtifactResolver, Disposable {
@Inject
private Logger logger;

View File

@ -29,6 +29,7 @@ import java.util.List;
*/
@Named
@Singleton
@Deprecated
public class DefaultResolutionErrorHandler implements ResolutionErrorHandler {
public void throwErrors(ArtifactResolutionRequest request, ArtifactResolutionResult result)

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.resolver;
/**
*/
@Deprecated
public interface ResolutionErrorHandler {
void throwErrors(ArtifactResolutionRequest request, ArtifactResolutionResult result)

View File

@ -25,6 +25,7 @@ import org.apache.maven.artifact.versioning.VersionRange;
* Listens to the resolution process and handles events.
*
*/
@Deprecated
public interface ResolutionListener {
String ROLE = ResolutionListener.class.getName();

View File

@ -34,6 +34,7 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
/**
* ResolutionNode
*/
@Deprecated
public class ResolutionNode {
private Artifact artifact;

View File

@ -28,6 +28,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
* the remote repositories where attempts were made to resolve the artifacts.
*
*/
@Deprecated
public class UnresolvedArtifacts {
private Artifact originatingArtifact;

View File

@ -26,6 +26,7 @@ import org.codehaus.plexus.logging.Logger;
* Send resolution warning events to the warning log.
*
*/
@Deprecated
public class WarningResolutionListener implements ResolutionListener {
private Logger logger;

View File

@ -23,6 +23,7 @@ import org.apache.maven.artifact.Artifact;
/**
* InversionArtifactFilter
*/
@Deprecated
public class InversionArtifactFilter implements ArtifactFilter {
private final ArtifactFilter toInvert;

View File

@ -28,6 +28,7 @@ import org.apache.maven.artifact.Artifact;
* Apply multiple filters, accepting an artifact if at least one of the filters accepts it.
*
*/
@Deprecated
public class OrArtifactFilter implements ArtifactFilter {
private Set<ArtifactFilter> filters;

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.resolver.filter;
import org.apache.maven.artifact.Artifact;
/** Artifact Filter which filters on artifact type */
@Deprecated
public class TypeArtifactFilter implements ArtifactFilter {
private String type = "jar";

View File

@ -64,6 +64,7 @@ import org.codehaus.plexus.component.repository.exception.ComponentLookupExcepti
*/
@Named
@Singleton
@Deprecated
public class DefaultPluginManager implements PluginManager {
private final PlexusContainer container;

View File

@ -23,6 +23,7 @@ import org.apache.maven.artifact.InvalidRepositoryException;
/**
* Error constructing an artifact repository.
*/
@Deprecated
public class MissingRepositoryElementException extends InvalidRepositoryException {
public MissingRepositoryElementException(String message, String repositoryId) {

View File

@ -29,6 +29,7 @@ import org.apache.maven.model.Model;
*/
@Named
@Singleton
@Deprecated
public class DefaultModelInheritanceAssembler implements ModelInheritanceAssembler {
@Override
public void assembleModelInheritance(Model child, Model parent, String childPathAdjustment) {

View File

@ -24,6 +24,7 @@ import java.util.List;
/**
*/
@Deprecated
public class ModelValidationResult {
/** */

View File

@ -22,6 +22,7 @@ package org.apache.maven.reporting;
* An exception occurring during the execution of a Maven report.
*
*/
@Deprecated
public class MavenReportException extends Exception {
public MavenReportException(String msg) {
super(msg);

View File

@ -23,6 +23,7 @@ package org.apache.maven.repository;
*
*
*/
@Deprecated
public class MavenArtifactMetadata {
public static final String DEFAULT_TYPE = "jar";

View File

@ -26,6 +26,7 @@ import java.util.Collection;
*
*
*/
@Deprecated
public class MetadataGraph {
/** all graph nodes */
Collection<MetadataGraphNode> nodes;

View File

@ -26,6 +26,7 @@ import java.util.List;
*
*
*/
@Deprecated
public class MetadataGraphNode {
/** node payload */
MavenArtifactMetadata metadata;

View File

@ -30,6 +30,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
*
*
*/
@Deprecated
public class MetadataResolutionRequest {
private MavenArtifactMetadata mad;

View File

@ -35,6 +35,7 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
*
*
*/
@Deprecated
public class MetadataResolutionResult {
private Artifact originatingArtifact;

View File

@ -27,6 +27,7 @@ import org.apache.maven.settings.Mirror;
* Handles the selection of mirrors for repositories.
*
*/
@Deprecated
public interface MirrorSelector {
/**

View File

@ -27,6 +27,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
/**
* UserLocalArtifactRepository
*/
@Deprecated
public class UserLocalArtifactRepository extends LocalArtifactRepository {
private ArtifactRepository localRepository;

View File

@ -28,6 +28,7 @@ import org.apache.maven.model.Dependency;
* Thrown if a dependency has an invalid version.
*
*/
@Deprecated
public class VersionNotFoundException extends Exception {
private Dependency dependency;

View File

@ -24,6 +24,7 @@ import org.apache.maven.wagon.TransferFailedException;
* Occurs when a download checksum fails.
*
*/
@Deprecated
public class ChecksumFailedException extends TransferFailedException {
public ChecksumFailedException(String s) {
super(s);

View File

@ -45,6 +45,7 @@ import org.codehaus.plexus.logging.Logger;
*/
@Named
@Singleton
@Deprecated
public class DefaultUpdateCheckManager extends AbstractLogEnabled implements UpdateCheckManager {
private static final String ERROR_KEY_SUFFIX = ".error";

View File

@ -66,6 +66,7 @@ import org.eclipse.aether.util.ConfigUtils;
*/
@Named
@Singleton
@Deprecated
public class DefaultWagonManager implements WagonManager {
private static final String[] CHECKSUM_IDS = {"md5", "sha1"};

View File

@ -84,6 +84,7 @@ import org.eclipse.aether.repository.RemoteRepository;
*/
@Named("default")
@Singleton
@Deprecated
public class LegacyRepositorySystem implements RepositorySystem {
@Inject

View File

@ -21,6 +21,7 @@ package org.apache.maven.repository.legacy;
import org.apache.maven.repository.ArtifactTransferResource;
import org.apache.maven.wagon.resource.Resource;
@Deprecated
class MavenArtifact implements ArtifactTransferResource {
private String repositoryUrl;

View File

@ -32,6 +32,7 @@ import org.apache.maven.wagon.resource.Resource;
/**
* TransferListenerAdapter
*/
@Deprecated
public class TransferListenerAdapter implements TransferListener {
private final ArtifactTransferListener listener;

View File

@ -27,6 +27,7 @@ import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
/**
* UpdateCheckManager
*/
@Deprecated
public interface UpdateCheckManager {
boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository);

View File

@ -23,6 +23,7 @@ import org.apache.maven.wagon.TransferFailedException;
/**
* WagonConfigurationException
*/
@Deprecated
public class WagonConfigurationException extends TransferFailedException {
static final long serialVersionUID = 1;

View File

@ -34,6 +34,7 @@ import org.apache.maven.wagon.repository.Repository;
/**
* WagonManager
*/
@Deprecated
public interface WagonManager {
@Deprecated
Wagon getWagon(String protocol) throws UnsupportedProtocolException;

View File

@ -23,6 +23,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
@Deprecated
public interface ArtifactRepositoryFactory {
String DEFAULT_LAYOUT_ID = "default";

View File

@ -35,6 +35,7 @@ import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout2;
*/
@Named
@Singleton
@Deprecated
public class DefaultArtifactRepositoryFactory implements ArtifactRepositoryFactory {
// TODO use settings?
private String globalUpdatePolicy;

View File

@ -60,6 +60,7 @@ import org.codehaus.plexus.logging.Logger;
*/
@Named
@Singleton
@Deprecated
public class DefaultLegacyArtifactCollector implements LegacyArtifactCollector {
@Inject

View File

@ -24,6 +24,7 @@ import org.apache.maven.artifact.resolver.ResolutionNode;
* Determines which version of an artifact to use when there are conflicting declarations.
*
*/
@Deprecated
public interface ConflictResolver {
String ROLE = ConflictResolver.class.getName();

View File

@ -24,6 +24,7 @@ package org.apache.maven.repository.legacy.resolver.conflict;
* @see ConflictResolver
* @since 3.0
*/
@Deprecated
public interface ConflictResolverFactory {
// constants --------------------------------------------------------------

View File

@ -23,6 +23,7 @@ package org.apache.maven.repository.legacy.resolver.conflict;
*
* @since 3.0
*/
@Deprecated
public class ConflictResolverNotFoundException extends Exception {
// constants --------------------------------------------------------------

View File

@ -37,6 +37,7 @@ import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable;
*/
@Named
@Singleton
@Deprecated
public class DefaultConflictResolverFactory implements ConflictResolverFactory, Contextualizable {
// fields -----------------------------------------------------------------

View File

@ -31,6 +31,7 @@ import org.apache.maven.artifact.resolver.ResolutionNode;
*/
@Named("farthest")
@Singleton
@Deprecated
public class FarthestConflictResolver implements ConflictResolver {
// ConflictResolver methods -----------------------------------------------

View File

@ -31,6 +31,7 @@ import org.apache.maven.artifact.resolver.ResolutionNode;
*/
@Named("nearest")
@Singleton
@Deprecated
public class NearestConflictResolver implements ConflictResolver {
// ConflictResolver methods -----------------------------------------------

View File

@ -34,6 +34,7 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
*/
@Named("newest")
@Singleton
@Deprecated
public class NewestConflictResolver implements ConflictResolver {
// ConflictResolver methods -----------------------------------------------

View File

@ -34,6 +34,7 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
*/
@Named("oldest")
@Singleton
@Deprecated
public class OldestConflictResolver implements ConflictResolver {
// ConflictResolver methods -----------------------------------------------

View File

@ -43,6 +43,7 @@ import org.codehaus.plexus.logging.AbstractLogEnabled;
*
* TODO try and refactor to remove abstract methods - not particular happy about current design
*/
@Deprecated
public abstract class AbstractVersionTransformation extends AbstractLogEnabled implements ArtifactTransformation {
@Inject
protected RepositoryMetadataManager repositoryMetadataManager;

View File

@ -30,6 +30,7 @@ import org.apache.maven.artifact.resolver.ArtifactResolutionException;
/**
*/
@Deprecated
public interface ArtifactTransformation {
String ROLE = ArtifactTransformation.class.getName();

View File

@ -31,6 +31,7 @@ import org.apache.maven.artifact.resolver.ArtifactResolutionException;
/**
* Manages multiple ArtifactTransformation instances and applies them in succession.
*/
@Deprecated
public interface ArtifactTransformationManager {
String ROLE = ArtifactTransformationManager.class.getName();

View File

@ -40,6 +40,7 @@ import org.apache.maven.artifact.resolver.ArtifactResolutionException;
*/
@Named
@Singleton
@Deprecated
public class DefaultArtifactTransformationManager implements ArtifactTransformationManager {
private List<ArtifactTransformation> artifactTransformations;

View File

@ -34,6 +34,7 @@ import org.apache.maven.artifact.resolver.ArtifactResolutionException;
*/
@Named("latest")
@Singleton
@Deprecated
public class LatestArtifactTransformation extends AbstractVersionTransformation {
public void transformForResolve(Artifact artifact, RepositoryRequest request)

View File

@ -37,6 +37,7 @@ import org.apache.maven.artifact.resolver.ArtifactResolutionException;
*/
@Named("release")
@Singleton
@Deprecated
public class ReleaseArtifactTransformation extends AbstractVersionTransformation {
public void transformForResolve(Artifact artifact, RepositoryRequest request)

View File

@ -44,6 +44,7 @@ import org.codehaus.plexus.util.StringUtils;
*/
@Named("snapshot")
@Singleton
@Deprecated
public class SnapshotTransformation extends AbstractVersionTransformation {
private static final String DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss";

View File

@ -27,6 +27,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
* Artifact Metadata that is resolved independent of Artifact itself.
*
*/
@Deprecated
public class ArtifactMetadata {
/**
* standard glorified artifact coordinates

View File

@ -29,6 +29,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
*
*
*/
@Deprecated
public class ClasspathContainer implements Iterable<ArtifactMetadata> {
private List<ArtifactMetadata> classpath;

View File

@ -25,6 +25,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
*
*
*/
@Deprecated
public interface ClasspathTransformation {
String ROLE = ClasspathTransformation.class.getName();

View File

@ -35,6 +35,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
*/
@Named
@Singleton
@Deprecated
public class DefaultClasspathTransformation implements ClasspathTransformation {
@Inject
GraphConflictResolver conflictResolver;

View File

@ -30,6 +30,7 @@ import org.codehaus.plexus.component.annotations.Configuration;
*/
@Named
@Singleton
@Deprecated
public class DefaultGraphConflictResolutionPolicy implements GraphConflictResolutionPolicy {
/**
* artifact, closer to the entry point, is selected

View File

@ -34,6 +34,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
*/
@Named
@Singleton
@Deprecated
public class DefaultGraphConflictResolver implements GraphConflictResolver {
/**
* artifact, closer to the entry point, is selected

View File

@ -22,6 +22,7 @@ package org.apache.maven.repository.metadata;
*
*
*/
@Deprecated
public class GraphConflictResolutionException extends Exception {
private static final long serialVersionUID = 2677613140287940255L;

View File

@ -24,6 +24,7 @@ package org.apache.maven.repository.metadata;
*
*
*/
@Deprecated
public interface GraphConflictResolutionPolicy {
String ROLE = GraphConflictResolutionPolicy.class.getName();

View File

@ -25,6 +25,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
* Different implementations will implement different conflict resolution policies.
*
*/
@Deprecated
public interface GraphConflictResolver {
String ROLE = GraphConflictResolver.class.getName();

View File

@ -31,6 +31,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
*
*
*/
@Deprecated
public class MetadataGraph {
public static final int DEFAULT_VERTICES = 32;
public static final int DEFAULT_EDGES = 64;

View File

@ -26,6 +26,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
*
*
*/
@Deprecated
public class MetadataGraphEdge {
String version;
ArtifactScopeEnum scope;

View File

@ -20,6 +20,7 @@ package org.apache.maven.repository.metadata;
/**
*/
@Deprecated
public class MetadataGraphTransformationException extends Exception {
private static final long serialVersionUID = -4029897098314019152L;

View File

@ -24,6 +24,7 @@ import org.apache.maven.artifact.ArtifactScopeEnum;
* metadata graph vertice - just a wrapper around artifact's metadata
*
*/
@Deprecated
public class MetadataGraphVertex implements Comparable<MetadataGraphVertex> {
ArtifactMetadata md;

View File

@ -26,6 +26,7 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
*
*
*/
@Deprecated
public class MetadataResolution {
/** resolved MD */
private ArtifactMetadata artifactMetadata;

View File

@ -21,6 +21,7 @@ package org.apache.maven.repository.metadata;
/**
* MetadataResolutionException
*/
@Deprecated
public class MetadataResolutionException extends Exception {
public MetadataResolutionException() {

View File

@ -22,6 +22,7 @@ import java.util.List;
import org.apache.maven.artifact.repository.ArtifactRepository;
@Deprecated
public class MetadataResolutionRequest {
protected ArtifactMetadata query;
protected ArtifactRepository localRepository;

View File

@ -21,6 +21,7 @@ package org.apache.maven.repository.metadata;
/**
* MetadataResolutionRequestTypeEnum
*/
@Deprecated
public enum MetadataResolutionRequestTypeEnum {
tree(1),
graph(2),

View File

@ -27,6 +27,7 @@ import org.codehaus.plexus.component.repository.exception.ComponentLookupExcepti
* Get rid of them after debugging
*
*/
@Deprecated
public class MetadataResolutionResult {
MetadataTreeNode treeRoot;

Some files were not shown because too many files have changed in this diff Show More