mirror of https://github.com/apache/maven.git
remove unused constructors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307086 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f442f49d88
commit
b8e50a1369
|
@ -47,70 +47,4 @@ public class ArtifactResolutionException
|
|||
{
|
||||
super( message, artifact, remoteRepositories, t );
|
||||
}
|
||||
|
||||
/*
|
||||
public ArtifactResolutionException( String message, String groupId, String artifactId, String version, String type,
|
||||
List remoteRepositories, String downloadUrl, List path, Throwable t )
|
||||
{
|
||||
super( constructMessage( message, groupId, artifactId, version, type, remoteRepositories, downloadUrl, path ),
|
||||
t );
|
||||
|
||||
this.originalMessage = message;
|
||||
this.groupId = groupId;
|
||||
this.artifactId = artifactId;
|
||||
this.type = type;
|
||||
this.version = version;
|
||||
this.remoteRepositories = remoteRepositories;
|
||||
this.path = constructArtifactPath( path );
|
||||
this.downloadUrl = downloadUrl;
|
||||
}
|
||||
|
||||
public ArtifactResolutionException( String message, String groupId, String artifactId, String version, String type,
|
||||
List remoteRepositories, String downloadUrl, Throwable t )
|
||||
{
|
||||
this( message, groupId, artifactId, version, type, remoteRepositories, downloadUrl, null, t );
|
||||
}
|
||||
|
||||
public ArtifactResolutionException( String message, String groupId, String artifactId, String version, String type,
|
||||
List remoteRepositories, String downloadUrl, List path )
|
||||
{
|
||||
super( constructMessage( message, groupId, artifactId, version, type, remoteRepositories, downloadUrl, path ) );
|
||||
|
||||
this.originalMessage = message;
|
||||
this.groupId = groupId;
|
||||
this.artifactId = artifactId;
|
||||
this.type = type;
|
||||
this.version = version;
|
||||
this.remoteRepositories = remoteRepositories;
|
||||
this.downloadUrl = downloadUrl;
|
||||
this.path = constructArtifactPath( path );
|
||||
}
|
||||
|
||||
public ArtifactResolutionException( String message, Artifact artifact, List remoteRepositories, Throwable t )
|
||||
{
|
||||
this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(),
|
||||
remoteRepositories, artifact.getDownloadUrl(), artifact.getDependencyTrail(), t );
|
||||
}
|
||||
|
||||
public ArtifactResolutionException( String message, Artifact artifact, List remoteRepositories )
|
||||
{
|
||||
this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(),
|
||||
remoteRepositories, artifact.getDownloadUrl(), artifact.getDependencyTrail() );
|
||||
}
|
||||
|
||||
public ArtifactResolutionException( String message, Artifact artifact )
|
||||
{
|
||||
this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(), null,
|
||||
artifact.getDownloadUrl(), artifact.getDependencyTrail() );
|
||||
}
|
||||
|
||||
public ArtifactResolutionException( String message, Throwable cause )
|
||||
{
|
||||
super( message, cause );
|
||||
|
||||
this.originalMessage = message;
|
||||
this.path = "";
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue