mirror of https://github.com/apache/maven.git
Accounted for refactoring of aether-api
This commit is contained in:
parent
2592e158ad
commit
e02c8abdd1
|
@ -21,9 +21,9 @@ package org.apache.maven.repository.internal;
|
|||
|
||||
import org.apache.maven.model.Repository;
|
||||
import org.eclipse.aether.artifact.Artifact;
|
||||
import org.eclipse.aether.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.repository.RemoteRepository;
|
||||
import org.eclipse.aether.repository.RepositoryPolicy;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifact;
|
||||
|
||||
/**
|
||||
* <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part
|
||||
|
|
|
@ -58,6 +58,8 @@ import org.eclipse.aether.artifact.Artifact;
|
|||
import org.eclipse.aether.artifact.ArtifactProperties;
|
||||
import org.eclipse.aether.artifact.ArtifactType;
|
||||
import org.eclipse.aether.artifact.ArtifactTypeRegistry;
|
||||
import org.eclipse.aether.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.artifact.DefaultArtifactType;
|
||||
import org.eclipse.aether.graph.Dependency;
|
||||
import org.eclipse.aether.graph.Exclusion;
|
||||
import org.eclipse.aether.impl.ArtifactDescriptorReader;
|
||||
|
@ -81,8 +83,6 @@ import org.eclipse.aether.spi.log.Logger;
|
|||
import org.eclipse.aether.spi.log.LoggerFactory;
|
||||
import org.eclipse.aether.spi.log.NullLoggerFactory;
|
||||
import org.eclipse.aether.transfer.ArtifactNotFoundException;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifactType;
|
||||
|
||||
/**
|
||||
* @author Benjamin Bentmann
|
||||
|
|
|
@ -34,12 +34,12 @@ import org.apache.maven.model.resolution.UnresolvableModelException;
|
|||
import org.eclipse.aether.RepositorySystemSession;
|
||||
import org.eclipse.aether.RequestTrace;
|
||||
import org.eclipse.aether.artifact.Artifact;
|
||||
import org.eclipse.aether.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.impl.ArtifactResolver;
|
||||
import org.eclipse.aether.impl.RemoteRepositoryManager;
|
||||
import org.eclipse.aether.repository.RemoteRepository;
|
||||
import org.eclipse.aether.resolution.ArtifactRequest;
|
||||
import org.eclipse.aether.resolution.ArtifactResolutionException;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifact;
|
||||
|
||||
/**
|
||||
* A model resolver to assist building of dependency POMs. This resolver gives priority to those repositories that have
|
||||
|
|
|
@ -43,6 +43,7 @@ import org.eclipse.aether.impl.MetadataResolver;
|
|||
import org.eclipse.aether.impl.RepositoryEventDispatcher;
|
||||
import org.eclipse.aether.impl.SyncContextFactory;
|
||||
import org.eclipse.aether.impl.VersionRangeResolver;
|
||||
import org.eclipse.aether.metadata.DefaultMetadata;
|
||||
import org.eclipse.aether.metadata.Metadata;
|
||||
import org.eclipse.aether.repository.ArtifactRepository;
|
||||
import org.eclipse.aether.repository.RemoteRepository;
|
||||
|
@ -57,7 +58,6 @@ import org.eclipse.aether.spi.locator.ServiceLocator;
|
|||
import org.eclipse.aether.spi.log.Logger;
|
||||
import org.eclipse.aether.spi.log.LoggerFactory;
|
||||
import org.eclipse.aether.spi.log.NullLoggerFactory;
|
||||
import org.eclipse.aether.util.metadata.DefaultMetadata;
|
||||
import org.eclipse.aether.util.version.GenericVersionScheme;
|
||||
import org.eclipse.aether.version.InvalidVersionSpecificationException;
|
||||
import org.eclipse.aether.version.Version;
|
||||
|
|
|
@ -51,6 +51,7 @@ import org.eclipse.aether.impl.RepositoryEventDispatcher;
|
|||
import org.eclipse.aether.impl.SyncContextFactory;
|
||||
import org.eclipse.aether.impl.VersionResolver;
|
||||
import org.eclipse.aether.internal.impl.CacheUtils;
|
||||
import org.eclipse.aether.metadata.DefaultMetadata;
|
||||
import org.eclipse.aether.metadata.Metadata;
|
||||
import org.eclipse.aether.repository.ArtifactRepository;
|
||||
import org.eclipse.aether.repository.LocalRepository;
|
||||
|
@ -68,7 +69,6 @@ import org.eclipse.aether.spi.log.Logger;
|
|||
import org.eclipse.aether.spi.log.LoggerFactory;
|
||||
import org.eclipse.aether.spi.log.NullLoggerFactory;
|
||||
import org.eclipse.aether.util.ConfigUtils;
|
||||
import org.eclipse.aether.util.metadata.DefaultMetadata;
|
||||
|
||||
/**
|
||||
* @author Benjamin Bentmann
|
||||
|
|
|
@ -22,6 +22,7 @@ package org.apache.maven.repository.internal;
|
|||
import java.util.Properties;
|
||||
|
||||
import org.eclipse.aether.DefaultRepositorySystemSession;
|
||||
import org.eclipse.aether.artifact.DefaultArtifactType;
|
||||
import org.eclipse.aether.collection.DependencyGraphTransformer;
|
||||
import org.eclipse.aether.collection.DependencyManager;
|
||||
import org.eclipse.aether.collection.DependencySelector;
|
||||
|
@ -31,7 +32,6 @@ import org.eclipse.aether.impl.DefaultServiceLocator;
|
|||
import org.eclipse.aether.impl.MetadataGeneratorFactory;
|
||||
import org.eclipse.aether.impl.VersionRangeResolver;
|
||||
import org.eclipse.aether.impl.VersionResolver;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifactType;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifactTypeRegistry;
|
||||
import org.eclipse.aether.util.graph.manager.ClassicDependencyManager;
|
||||
import org.eclipse.aether.util.graph.selector.AndDependencySelector;
|
||||
|
|
|
@ -22,8 +22,8 @@ package org.apache.maven.repository.internal;
|
|||
import java.io.File;
|
||||
import java.util.Map;
|
||||
|
||||
import org.eclipse.aether.artifact.AbstractArtifact;
|
||||
import org.eclipse.aether.artifact.Artifact;
|
||||
import org.eclipse.aether.util.artifact.AbstractArtifact;
|
||||
|
||||
/**
|
||||
* @author Benjamin Bentmann
|
||||
|
@ -88,16 +88,6 @@ final class RelocatedArtifact
|
|||
}
|
||||
}
|
||||
|
||||
public String getBaseVersion()
|
||||
{
|
||||
return toBaseVersion( getVersion() );
|
||||
}
|
||||
|
||||
public boolean isSnapshot()
|
||||
{
|
||||
return isSnapshot( getVersion() );
|
||||
}
|
||||
|
||||
public String getClassifier()
|
||||
{
|
||||
return artifact.getClassifier();
|
||||
|
|
|
@ -34,6 +34,8 @@ import org.eclipse.aether.artifact.Artifact;
|
|||
import org.eclipse.aether.artifact.ArtifactProperties;
|
||||
import org.eclipse.aether.artifact.ArtifactType;
|
||||
import org.eclipse.aether.artifact.ArtifactTypeRegistry;
|
||||
import org.eclipse.aether.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.artifact.DefaultArtifactType;
|
||||
import org.eclipse.aether.graph.Dependency;
|
||||
import org.eclipse.aether.graph.DependencyFilter;
|
||||
import org.eclipse.aether.graph.DependencyNode;
|
||||
|
@ -42,8 +44,6 @@ import org.eclipse.aether.repository.Authentication;
|
|||
import org.eclipse.aether.repository.Proxy;
|
||||
import org.eclipse.aether.repository.RemoteRepository;
|
||||
import org.eclipse.aether.repository.RepositoryPolicy;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifactType;
|
||||
|
||||
/**
|
||||
* <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part
|
||||
|
|
|
@ -36,6 +36,7 @@ import org.eclipse.aether.RepositorySystem;
|
|||
import org.eclipse.aether.RepositorySystemSession;
|
||||
import org.eclipse.aether.RequestTrace;
|
||||
import org.eclipse.aether.artifact.Artifact;
|
||||
import org.eclipse.aether.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.collection.CollectRequest;
|
||||
import org.eclipse.aether.collection.DependencyCollectionException;
|
||||
import org.eclipse.aether.collection.DependencyGraphTransformer;
|
||||
|
@ -51,7 +52,6 @@ import org.eclipse.aether.resolution.ArtifactRequest;
|
|||
import org.eclipse.aether.resolution.ArtifactResolutionException;
|
||||
import org.eclipse.aether.resolution.DependencyRequest;
|
||||
import org.eclipse.aether.resolution.DependencyResolutionException;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.util.artifact.JavaScopes;
|
||||
import org.eclipse.aether.util.filter.AndDependencyFilter;
|
||||
import org.eclipse.aether.util.filter.ExclusionsDependencyFilter;
|
||||
|
|
|
@ -21,13 +21,13 @@ package org.apache.maven.plugin.internal;
|
|||
|
||||
import org.eclipse.aether.RepositoryException;
|
||||
import org.eclipse.aether.artifact.Artifact;
|
||||
import org.eclipse.aether.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.collection.DependencyGraphTransformationContext;
|
||||
import org.eclipse.aether.collection.DependencyGraphTransformer;
|
||||
import org.eclipse.aether.graph.DefaultDependencyNode;
|
||||
import org.eclipse.aether.graph.Dependency;
|
||||
import org.eclipse.aether.graph.DependencyNode;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.util.artifact.JavaScopes;
|
||||
import org.eclipse.aether.util.graph.DefaultDependencyNode;
|
||||
|
||||
/**
|
||||
* Injects plexus-utils:1.1 into a plugin's class path if it doesn't already declare a dependency on plexus-utils. This
|
||||
|
|
|
@ -45,12 +45,12 @@ import org.eclipse.aether.RepositoryListener;
|
|||
import org.eclipse.aether.RepositorySystem;
|
||||
import org.eclipse.aether.RepositorySystemSession;
|
||||
import org.eclipse.aether.RequestTrace;
|
||||
import org.eclipse.aether.metadata.DefaultMetadata;
|
||||
import org.eclipse.aether.repository.ArtifactRepository;
|
||||
import org.eclipse.aether.repository.RemoteRepository;
|
||||
import org.eclipse.aether.repository.RepositoryPolicy;
|
||||
import org.eclipse.aether.resolution.MetadataRequest;
|
||||
import org.eclipse.aether.resolution.MetadataResult;
|
||||
import org.eclipse.aether.util.metadata.DefaultMetadata;
|
||||
|
||||
/**
|
||||
* Resolves a plugin prefix.
|
||||
|
|
|
@ -49,11 +49,11 @@ import org.eclipse.aether.RepositoryListener;
|
|||
import org.eclipse.aether.RepositorySystem;
|
||||
import org.eclipse.aether.RepositorySystemSession;
|
||||
import org.eclipse.aether.RequestTrace;
|
||||
import org.eclipse.aether.metadata.DefaultMetadata;
|
||||
import org.eclipse.aether.repository.ArtifactRepository;
|
||||
import org.eclipse.aether.repository.RemoteRepository;
|
||||
import org.eclipse.aether.resolution.MetadataRequest;
|
||||
import org.eclipse.aether.resolution.MetadataResult;
|
||||
import org.eclipse.aether.util.metadata.DefaultMetadata;
|
||||
import org.eclipse.aether.util.version.GenericVersionScheme;
|
||||
import org.eclipse.aether.version.InvalidVersionSpecificationException;
|
||||
import org.eclipse.aether.version.Version;
|
||||
|
|
|
@ -37,11 +37,11 @@ import org.eclipse.aether.RepositorySystem;
|
|||
import org.eclipse.aether.RepositorySystemSession;
|
||||
import org.eclipse.aether.RequestTrace;
|
||||
import org.eclipse.aether.artifact.Artifact;
|
||||
import org.eclipse.aether.artifact.DefaultArtifact;
|
||||
import org.eclipse.aether.impl.RemoteRepositoryManager;
|
||||
import org.eclipse.aether.repository.RemoteRepository;
|
||||
import org.eclipse.aether.resolution.ArtifactRequest;
|
||||
import org.eclipse.aether.resolution.ArtifactResolutionException;
|
||||
import org.eclipse.aether.util.artifact.DefaultArtifact;
|
||||
|
||||
/**
|
||||
* A model resolver to assist building of projects. This resolver gives priority to those repositories that have been
|
||||
|
|
|
@ -24,9 +24,9 @@ import org.apache.maven.project.DependencyResolutionException;
|
|||
import org.apache.maven.project.DependencyResolutionRequest;
|
||||
import org.apache.maven.project.DependencyResolutionResult;
|
||||
import org.apache.maven.project.MavenProject;
|
||||
import org.eclipse.aether.graph.DefaultDependencyNode;
|
||||
import org.eclipse.aether.graph.Dependency;
|
||||
import org.eclipse.aether.graph.DependencyNode;
|
||||
import org.eclipse.aether.util.graph.DefaultDependencyNode;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
|
Loading…
Reference in New Issue