mirror of https://github.com/apache/maven.git
Remove useless @author tags (#1226)
This information is usually more accurately given by the GIT history
This commit is contained in:
parent
c0b8a769b3
commit
0b3246381d
|
@ -31,7 +31,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
/**
|
||||
* Tests that the global settings.xml shipped with the distribution is in good state.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
class GlobalSettingsTest {
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
|
|||
import org.apache.maven.artifact.versioning.VersionRange;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
public class DefaultArtifact implements Artifact {
|
||||
private String groupId;
|
||||
|
|
|
@ -25,7 +25,6 @@ package org.apache.maven.artifact.handler;
|
|||
* dependencies transitively</li>
|
||||
* </ul>
|
||||
*
|
||||
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
|
||||
*/
|
||||
public interface ArtifactHandler {
|
||||
@Deprecated
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.util.Date;
|
|||
/**
|
||||
* Describes a set of policies for a repository to use under certain conditions.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
* @deprecated Avoid use of this type, if you need access to local repository use repository system session instead.
|
||||
*/
|
||||
@Deprecated
|
||||
|
|
|
@ -25,7 +25,6 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
|
|||
/**
|
||||
* Repository layout.
|
||||
*
|
||||
* @author jdcasey
|
||||
* @deprecated Avoid use of this type, if you need access to local repository use repository system session instead.
|
||||
*/
|
||||
@Deprecated
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.repository.metadata;
|
|||
/**
|
||||
* Problem storing the repository metadata in the local repository.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class RepositoryMetadataStoreException extends Exception {
|
||||
public RepositoryMetadataStoreException(String message) {
|
||||
|
|
|
@ -28,7 +28,6 @@ import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
|
|||
/**
|
||||
* Base class for artifact resolution exceptions.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class AbstractArtifactResolutionException extends Exception {
|
||||
private String groupId;
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.apache.maven.artifact.Artifact;
|
|||
import org.apache.maven.artifact.repository.ArtifactRepository;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
public class ArtifactNotFoundException extends AbstractArtifactResolutionException {
|
||||
private String downloadUrl;
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.apache.maven.artifact.Artifact;
|
|||
import org.apache.maven.artifact.repository.ArtifactRepository;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
public class ArtifactResolutionException extends AbstractArtifactResolutionException {
|
||||
@SuppressWarnings("checkstyle:parameternumber")
|
||||
|
|
|
@ -23,7 +23,6 @@ import org.apache.maven.artifact.Artifact;
|
|||
/**
|
||||
* Indicates a cycle in the dependency graph.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class CyclicDependencyException extends ArtifactResolutionException {
|
||||
private Artifact artifact;
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.resolver.filter;
|
|||
import org.apache.maven.artifact.Artifact;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
|
||||
*/
|
||||
public interface ArtifactFilter {
|
||||
boolean include(Artifact artifact);
|
||||
|
|
|
@ -22,7 +22,6 @@ package org.apache.maven.artifact.versioning;
|
|||
* Describes an artifact version in terms of its components, converts it to/from a string and
|
||||
* compares two versions.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public interface ArtifactVersion extends Comparable<ArtifactVersion> {
|
||||
int getMajorVersion();
|
||||
|
|
|
@ -59,8 +59,6 @@ import java.util.Properties;
|
|||
* over {@code 1.0.0.X1}.</li>
|
||||
* </ul>
|
||||
*
|
||||
* @author <a href="mailto:kenney@apache.org">Kenney Westerhof</a>
|
||||
* @author <a href="mailto:hboutemy@apache.org">Hervé Boutemy</a>
|
||||
* @see <a href="https://maven.apache.org/pom.html#version-order-specification">"Versioning" in the POM reference</a>
|
||||
*/
|
||||
public class ComparableVersion implements Comparable<ComparableVersion> {
|
||||
|
|
|
@ -23,7 +23,6 @@ import java.util.StringTokenizer;
|
|||
/**
|
||||
* Default implementation of artifact versioning.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class DefaultArtifactVersion implements ArtifactVersion {
|
||||
private Integer majorVersion;
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.versioning;
|
|||
/**
|
||||
* Occurs when a version is invalid.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class InvalidVersionSpecificationException extends Exception {
|
||||
public InvalidVersionSpecificationException(String message) {
|
||||
|
|
|
@ -27,7 +27,6 @@ import org.apache.maven.artifact.resolver.ArtifactResolutionException;
|
|||
/**
|
||||
* Occurs when ranges exclude each other and no valid value remains.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class OverConstrainedVersionException extends ArtifactResolutionException {
|
||||
public OverConstrainedVersionException(String msg, Artifact artifact) {
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.versioning;
|
|||
/**
|
||||
* Describes a restriction in versioning.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class Restriction {
|
||||
private final ArtifactVersion lowerBound;
|
||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.maven.artifact.Artifact;
|
|||
/**
|
||||
* Construct a version range from a specification.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class VersionRange {
|
||||
private static final Map<String, VersionRange> CACHE_SPEC = Collections.synchronizedMap(new WeakHashMap<>());
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreExce
|
|||
* TODO merge with artifactmetadatasource
|
||||
* TODO retrieval exception not appropriate for store
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public interface ArtifactMetadata {
|
||||
/**
|
||||
|
|
|
@ -33,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
/**
|
||||
* Tests {@link ArtifactUtils}.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
class ArtifactUtilsTest {
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
/**
|
||||
* Test ComparableVersion.
|
||||
*
|
||||
* @author <a href="mailto:hboutemy@apache.org">Hervé Boutemy</a>
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
class ComparableVersionTest {
|
||||
|
|
|
@ -27,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
/**
|
||||
* Test DefaultArtifactVersion.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
class DefaultArtifactVersionTest {
|
||||
private ArtifactVersion newArtifactVersion(String version) {
|
||||
|
|
|
@ -33,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
/**
|
||||
* Tests version range construction.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
class VersionRangeTest {
|
||||
private static final String CHECK_NUM_RESTRICTIONS = "check number of restrictions";
|
||||
|
|
|
@ -23,8 +23,6 @@ package org.apache.maven.building;
|
|||
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
|
||||
* that exhibits the problem.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
* @author Robert Scholte
|
||||
*/
|
||||
class DefaultProblem implements Problem {
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ import java.util.List;
|
|||
/**
|
||||
* Collects problems that are encountered during settings building.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
* @author Robert Scholte
|
||||
*/
|
||||
class DefaultProblemCollector implements ProblemCollector {
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@ import java.util.Objects;
|
|||
/**
|
||||
* Wraps an ordinary {@link File} as a source.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public class FileSource implements Source {
|
||||
private final File file;
|
||||
|
|
|
@ -23,8 +23,6 @@ package org.apache.maven.building;
|
|||
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
|
||||
* that exhibits the problem.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
* @author Robert Scholte
|
||||
*/
|
||||
public interface Problem {
|
||||
|
||||
|
|
|
@ -23,8 +23,6 @@ import java.util.List;
|
|||
/**
|
||||
* Collects problems that are encountered during settings building.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
* @author Robert Scholte
|
||||
*/
|
||||
public interface ProblemCollector {
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Robert Scholte
|
||||
* @since 3.3.0
|
||||
*/
|
||||
public class ProblemCollectorFactory {
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.io.InputStream;
|
|||
/**
|
||||
* Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory).
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public interface Source {
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.nio.charset.StandardCharsets;
|
|||
/**
|
||||
* Wraps an ordinary {@link CharSequence} as a source.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public class StringSource implements Source {
|
||||
private final String content;
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.util.Objects;
|
|||
/**
|
||||
* Wraps an ordinary {@link URL} as a source.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public class UrlSource implements Source {
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.maven.artifact.resolver.filter.ExclusionSetFilter;
|
|||
import org.apache.maven.extension.internal.CoreExports;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.apache.maven.project.MavenProject;
|
|||
/**
|
||||
* @deprecated As of 3.2.2, and there is no direct replacement. This is an internal class which was not marked as such,
|
||||
* but should have been.
|
||||
* @author jvanzyl
|
||||
*
|
||||
*/
|
||||
@Deprecated
|
||||
|
|
|
@ -22,7 +22,6 @@ package org.apache.maven.artifact;
|
|||
* Type safe reincarnation of Artifact scope. Also supplies the {@code DEFAULT_SCOPE} as well
|
||||
* as convenience method to deal with scope relationships.
|
||||
*
|
||||
* @author <a href="oleg@codehaus.org">Oleg Gusakov</a>
|
||||
*
|
||||
*/
|
||||
public enum ArtifactScopeEnum {
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.util.Map;
|
|||
/**
|
||||
* Type safe enumeration for the artifact status field.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public final class ArtifactStatus implements Comparable<ArtifactStatus> {
|
||||
/**
|
||||
|
|
|
@ -25,7 +25,6 @@ import org.codehaus.plexus.component.repository.exception.ComponentLookupExcepti
|
|||
* repository doesn't have a corresponding {@link org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout}
|
||||
* component in the current container.
|
||||
*
|
||||
* @author jdcasey
|
||||
*/
|
||||
public class UnknownRepositoryLayoutException extends InvalidRepositoryException {
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
package org.apache.maven.artifact.deployer;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
public class ArtifactDeploymentException extends Exception {
|
||||
public ArtifactDeploymentException(String message) {
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
package org.apache.maven.artifact.installer;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
|
||||
*/
|
||||
public class ArtifactInstallationException extends Exception {
|
||||
public ArtifactInstallationException(String message) {
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.apache.maven.artifact.Artifact;
|
|||
import org.apache.maven.artifact.repository.ArtifactRepository;
|
||||
|
||||
/**
|
||||
* @author <a href="michal@codehaus.org">Michal Maczka</a>
|
||||
*/
|
||||
public interface ArtifactInstaller {
|
||||
String ROLE = ArtifactInstaller.class.getName();
|
||||
|
|
|
@ -45,7 +45,6 @@ import org.eclipse.aether.installation.InstallationException;
|
|||
import org.eclipse.aether.util.artifact.SubArtifact;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
package org.apache.maven.artifact.manager;
|
||||
|
||||
/**
|
||||
* @author Olivier Lamy
|
||||
*/
|
||||
@Deprecated
|
||||
public class WagonConfigurationException extends org.apache.maven.repository.legacy.WagonConfigurationException {
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.apache.maven.wagon.proxy.ProxyInfo;
|
|||
/**
|
||||
* Manages <a href="https://maven.apache.org/wagon">Wagon</a> related operations in Maven.
|
||||
*
|
||||
* @author <a href="michal.maczka@dimatics.com">Michal Maczka </a>
|
||||
*/
|
||||
@Deprecated
|
||||
public interface WagonManager extends org.apache.maven.repository.legacy.WagonManager {
|
||||
|
|
|
@ -22,7 +22,6 @@ import org.apache.maven.artifact.UnknownRepositoryLayoutException;
|
|||
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
|
||||
|
||||
/**
|
||||
* @author jdcasey
|
||||
*/
|
||||
public interface ArtifactRepositoryFactory {
|
||||
String ROLE = ArtifactRepositoryFactory.class.getName();
|
||||
|
|
|
@ -32,7 +32,6 @@ import org.apache.maven.wagon.repository.Repository;
|
|||
* This class is an abstraction of the location from/to resources can be
|
||||
* transferred.
|
||||
*
|
||||
* @author <a href="michal.maczka@dimatics.com">Michal Maczka </a>
|
||||
*/
|
||||
@Deprecated
|
||||
public class DefaultArtifactRepository extends Repository implements ArtifactRepository {
|
||||
|
|
|
@ -34,7 +34,6 @@ import org.codehaus.plexus.component.repository.exception.ComponentLookupExcepti
|
|||
import org.eclipse.aether.RepositorySystemSession;
|
||||
|
||||
/**
|
||||
* @author jdcasey
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -48,7 +48,6 @@ import org.eclipse.aether.repository.RemoteRepository;
|
|||
* <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part
|
||||
* of the public API. In particular, this class can be changed or deleted without prior notice.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public class LegacyLocalRepositoryManager implements LocalRepositoryManager {
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ import org.apache.maven.artifact.repository.metadata.io.MetadataStaxWriter;
|
|||
/**
|
||||
* Shared methods of the repository metadata handling.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public abstract class AbstractRepositoryMetadata implements RepositoryMetadata {
|
||||
private static final String LS = System.lineSeparator();
|
||||
|
|
|
@ -28,7 +28,6 @@ import org.apache.maven.artifact.versioning.VersionRange;
|
|||
/**
|
||||
* Metadata for the artifact directory of the repository.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class ArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
|
||||
private Artifact artifact;
|
||||
|
|
|
@ -48,7 +48,6 @@ import org.apache.maven.wagon.TransferFailedException;
|
|||
import org.codehaus.plexus.logging.AbstractLogEnabled;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
|
|||
/**
|
||||
* Metadata for the group directory of the repository.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class GroupRepositoryMetadata extends AbstractRepositoryMetadata {
|
||||
private final String groupId;
|
||||
|
|
|
@ -35,7 +35,6 @@ import org.eclipse.aether.metadata.Metadata;
|
|||
* <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part
|
||||
* of the public API. In particular, this class can be changed or deleted without prior notice.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public final class MetadataBridge extends AbstractMetadata implements MergeableMetadata {
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.repository.metadata;
|
|||
/**
|
||||
* Assists in handling repository metadata.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
class MetadataUtils {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
|
|||
/**
|
||||
* Describes repository directory metadata.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
* TODO not happy about the store method - they use "this"
|
||||
*/
|
||||
public interface RepositoryMetadata extends org.apache.maven.artifact.metadata.ArtifactMetadata {
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.repository.metadata;
|
|||
/**
|
||||
* Error while deploying repository metadata.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class RepositoryMetadataDeploymentException extends Throwable {
|
||||
public RepositoryMetadataDeploymentException(String message) {
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.repository.metadata;
|
|||
/**
|
||||
* Error while installing repository metadata.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class RepositoryMetadataInstallationException extends Throwable {
|
||||
public RepositoryMetadataInstallationException(String message) {
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.repository.metadata;
|
|||
/**
|
||||
* Problem storing the repository metadata in the local repository.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class RepositoryMetadataReadException extends Exception {
|
||||
public RepositoryMetadataReadException(String message) {
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.artifact.repository.metadata;
|
|||
/**
|
||||
* Error while retrieving repository metadata from the repository.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class RepositoryMetadataResolutionException extends Exception {
|
||||
public RepositoryMetadataResolutionException(String message) {
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
|
|||
/**
|
||||
* Metadata for the artifact version directory of the repository.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
* TODO split instantiation (versioning, plugin mappings) from definition
|
||||
*/
|
||||
public class SnapshotArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
|
||||
|
|
|
@ -36,7 +36,6 @@ import org.apache.maven.settings.Server;
|
|||
* A resolution request allows you to either use an existing MavenProject, or a coordinate (gid:aid:version)
|
||||
* to process a POMs dependencies.
|
||||
*
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
public class ArtifactResolutionRequest implements RepositoryRequest {
|
||||
private static final String LS = System.lineSeparator();
|
||||
|
|
|
@ -39,7 +39,6 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
|
|||
* <li>file system errors: permissions</li>
|
||||
* </ul>
|
||||
*
|
||||
* @author Jason van Zyl
|
||||
* TODO carlos: all these possible has*Exceptions and get*Exceptions methods make the clients too
|
||||
* complex requiring a long list of checks, need to create a parent/interface/encapsulation
|
||||
* for the types of exceptions
|
||||
|
|
|
@ -29,7 +29,6 @@ import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
|
|||
import org.apache.maven.wagon.events.TransferListener;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
// Just hide the one method we want behind the RepositorySystem interface.
|
||||
public interface ArtifactResolver {
|
||||
|
|
|
@ -29,7 +29,6 @@ import org.codehaus.plexus.logging.Logger;
|
|||
/**
|
||||
* Send resolution events to the debug log.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class DebugResolutionListener implements ResolutionListener, ResolutionListenerForDepMgmt {
|
||||
private Logger logger;
|
||||
|
|
|
@ -69,7 +69,6 @@ import org.eclipse.aether.resolution.ArtifactRequest;
|
|||
import org.eclipse.aether.resolution.ArtifactResult;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.util.Collection;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
package org.apache.maven.artifact.resolver;
|
||||
|
||||
/**
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public interface ResolutionErrorHandler {
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.apache.maven.artifact.versioning.VersionRange;
|
|||
/**
|
||||
* Listens to the resolution process and handles events.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public interface ResolutionListener {
|
||||
String ROLE = ResolutionListener.class.getName();
|
||||
|
|
|
@ -27,7 +27,6 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
|
|||
* A simple recording of the Artifacts that could not be resolved for a given resolution request, along with
|
||||
* the remote repositories where attempts were made to resolve the artifacts.
|
||||
*
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
public class UnresolvedArtifacts {
|
||||
private Artifact originatingArtifact;
|
||||
|
|
|
@ -25,7 +25,6 @@ import org.codehaus.plexus.logging.Logger;
|
|||
/**
|
||||
* Send resolution warning events to the warning log.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class WarningResolutionListener implements ResolutionListener {
|
||||
private Logger logger;
|
||||
|
|
|
@ -27,7 +27,6 @@ import org.apache.maven.artifact.Artifact;
|
|||
/**
|
||||
* Apply multiple filters, accepting an artifact if at least one of the filters accepts it.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public class OrArtifactFilter implements ArtifactFilter {
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationExce
|
|||
/**
|
||||
* Describes runtime information about the application.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
@Deprecated
|
||||
@Named
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.apache.maven.artifact.versioning.ArtifactVersion;
|
|||
* Describes runtime information about the application.
|
||||
*
|
||||
* @deprecated Use {@link org.apache.maven.rtinfo.RuntimeInformation} instead.
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
@Deprecated
|
||||
public interface RuntimeInformation {
|
||||
|
|
|
@ -35,7 +35,6 @@ import org.apache.maven.settings.Settings;
|
|||
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
|
||||
*/
|
||||
@Deprecated
|
||||
public interface PluginManager {
|
||||
|
|
|
@ -61,7 +61,6 @@ import org.codehaus.plexus.PlexusContainer;
|
|||
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
|
||||
|
||||
/**
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -36,7 +36,6 @@ import org.apache.maven.project.MavenProject;
|
|||
* Wraps an active project instance to be able to receive updates from its artifact without affecting the original
|
||||
* attributes of this artifact.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
* TODO I think this exposes a design flaw in that the immutable and mutable parts of an artifact are in one class and
|
||||
* should be split. ie scope, file, etc depend on the context of use, whereas everything else is immutable.
|
||||
*/
|
||||
|
|
|
@ -33,7 +33,6 @@ import org.apache.maven.project.ProjectBuilder;
|
|||
* registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively
|
||||
* made the metadata source available with its original role hint ("maven") as well as the default hint.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
@Named
|
||||
@Singleton
|
||||
|
|
|
@ -88,7 +88,6 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
@Named("maven")
|
||||
@Singleton
|
||||
|
|
|
@ -31,7 +31,6 @@ import org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreExce
|
|||
/**
|
||||
* Attach a POM to an artifact.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
@Deprecated
|
||||
public class ProjectArtifactMetadata extends AbstractArtifactMetadata {
|
||||
|
|
|
@ -22,7 +22,6 @@ import org.apache.maven.model.Build;
|
|||
import org.apache.maven.model.Model;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
@Deprecated
|
||||
public interface ModelInheritanceAssembler {
|
||||
|
|
|
@ -57,7 +57,6 @@ import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationExce
|
|||
/**
|
||||
* Use a regular expression search to find and resolve expressions within the POM.
|
||||
*
|
||||
* @author jdcasey Created on Feb 3, 2005
|
||||
* TODO Consolidate this logic with the PluginParameterExpressionEvaluator, minus deprecations/bans.
|
||||
*/
|
||||
@Deprecated
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
package org.apache.maven.project.interpolation;
|
||||
|
||||
/**
|
||||
* @author jdcasey
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@Deprecated
|
||||
|
|
|
@ -25,7 +25,6 @@ import org.apache.maven.model.Model;
|
|||
import org.apache.maven.project.ProjectBuilderConfiguration;
|
||||
|
||||
/**
|
||||
* @author jdcasey
|
||||
*/
|
||||
@Deprecated
|
||||
public interface ModelInterpolator {
|
||||
|
|
|
@ -28,7 +28,6 @@ import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
|
|||
/**
|
||||
* Use a regular expression search to find and resolve expressions within the POM.
|
||||
*
|
||||
* @author jdcasey Created on Feb 3, 2005
|
||||
* TODO Consolidate this logic with the PluginParameterExpressionEvaluator, minus deprecations/bans.
|
||||
*/
|
||||
@Deprecated
|
||||
|
|
|
@ -23,7 +23,6 @@ import java.io.File;
|
|||
import org.apache.maven.model.Model;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
*/
|
||||
@Deprecated
|
||||
public interface PathTranslator {
|
||||
|
|
|
@ -30,7 +30,6 @@ import org.apache.maven.model.building.ModelProblemCollector;
|
|||
import org.apache.maven.model.building.ModelProblemCollectorRequest;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:trygvis@inamo.no">Trygve Laugstøl</a>
|
||||
*/
|
||||
@Deprecated
|
||||
@Named
|
||||
|
|
|
@ -23,7 +23,6 @@ import java.util.Collections;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author <a href="mailto:trygvis@inamo.no">Trygve Laugstøl</a>
|
||||
*/
|
||||
public class ModelValidationResult {
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ import org.apache.maven.model.Model;
|
|||
/**
|
||||
* Checks the model for missing or invalid values.
|
||||
*
|
||||
* @author <a href="mailto:trygvis@inamo.no">Trygve Laugstøl</a>
|
||||
*/
|
||||
@Deprecated
|
||||
public interface ModelValidator {
|
||||
|
|
|
@ -21,8 +21,6 @@ package org.apache.maven.reporting;
|
|||
/**
|
||||
* An exception occurring during the execution of a Maven report.
|
||||
*
|
||||
* @author Brett Porter
|
||||
* @author <a href="evenisse@apache.org">Emmanuel Venisse</a>
|
||||
*/
|
||||
public class MavenReportException extends Exception {
|
||||
public MavenReportException(String msg) {
|
||||
|
|
|
@ -25,7 +25,6 @@ import java.util.EventObject;
|
|||
* TransferEvent is used to notify TransferListeners about progress
|
||||
* in transfer of resources form/to the repository
|
||||
*
|
||||
* @author <a href="michal.maczka@dimatics.com">Michal Maczka</a>
|
||||
*/
|
||||
@Deprecated
|
||||
public class ArtifactTransferEvent extends EventObject {
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.repository;
|
|||
/**
|
||||
* Describes a resource being uploaded or downloaded by the repository system.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
@Deprecated
|
||||
public interface ArtifactTransferResource {
|
||||
|
|
|
@ -23,7 +23,6 @@ import java.io.IOException;
|
|||
/**
|
||||
* Signals a failure to store files within the local repository.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
@Deprecated
|
||||
public class LocalRepositoryNotAccessibleException extends IOException {
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.maven.repository;
|
|||
/**
|
||||
*
|
||||
*
|
||||
* @author Oleg Gusakov
|
||||
*
|
||||
*/
|
||||
public class MavenArtifactMetadata {
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.util.Collection;
|
|||
/**
|
||||
* This is the main graph data structure used by the RepositorySystem to present tree and graph objects.
|
||||
*
|
||||
* @author Oleg Gusakov
|
||||
*
|
||||
*/
|
||||
public class MetadataGraph {
|
||||
|
|
|
@ -24,7 +24,6 @@ import java.util.List;
|
|||
/**
|
||||
* MetadataGraph node - as it's a directed graph - holds adjacency lists for incident and exident nodes
|
||||
*
|
||||
* @author Oleg Gusakov
|
||||
*
|
||||
*/
|
||||
public class MetadataGraphNode {
|
||||
|
|
|
@ -28,7 +28,6 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
|
|||
/**
|
||||
*
|
||||
*
|
||||
* @author Oleg Gusakov
|
||||
*
|
||||
*/
|
||||
public class MetadataResolutionRequest {
|
||||
|
|
|
@ -33,7 +33,6 @@ import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
|
|||
/**
|
||||
*
|
||||
*
|
||||
* @author Oleg Gusakov
|
||||
*
|
||||
*/
|
||||
public class MetadataResolutionResult {
|
||||
|
|
|
@ -26,7 +26,6 @@ import org.apache.maven.settings.Mirror;
|
|||
/**
|
||||
* Handles the selection of mirrors for repositories.
|
||||
*
|
||||
* @author Benjamin Bentmann
|
||||
*/
|
||||
public interface MirrorSelector {
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ import org.apache.maven.settings.Server;
|
|||
import org.eclipse.aether.RepositorySystemSession;
|
||||
|
||||
/**
|
||||
* @author Jason van Zyl
|
||||
* @since 3.0-alpha
|
||||
* @deprecated Use {@link MavenRepositorySystem} if needed, or maven-resolver directly, until maven 4.x api is out
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,6 @@ import org.apache.maven.model.Dependency;
|
|||
/**
|
||||
* Thrown if a dependency has an invalid version.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class VersionNotFoundException extends Exception {
|
||||
private Dependency dependency;
|
||||
|
|
|
@ -23,7 +23,6 @@ import org.apache.maven.wagon.TransferFailedException;
|
|||
/**
|
||||
* Occurs when a download checksum fails.
|
||||
*
|
||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||
*/
|
||||
public class ChecksumFailedException extends TransferFailedException {
|
||||
public ChecksumFailedException(String s) {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue