mirror of https://github.com/apache/maven.git
merge from tag maven-2.0, r326226
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326232 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b874063d65
commit
fe72f031d7
|
@ -20,4 +20,4 @@
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -32,13 +32,13 @@ public class ArtifactNotFoundException
|
||||||
public ArtifactNotFoundException( String message, Artifact artifact )
|
public ArtifactNotFoundException( String message, Artifact artifact )
|
||||||
{
|
{
|
||||||
this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(), null,
|
this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(), null,
|
||||||
null );
|
artifact.getDownloadUrl() );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected ArtifactNotFoundException( String message, Artifact artifact, List remoteRepositories, Throwable t )
|
protected ArtifactNotFoundException( String message, Artifact artifact, List remoteRepositories, Throwable t )
|
||||||
{
|
{
|
||||||
this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(),
|
this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(),
|
||||||
remoteRepositories, null, t );
|
remoteRepositories, artifact.getDownloadUrl(), t );
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArtifactNotFoundException( String message, String groupId, String artifactId, String version, String type,
|
public ArtifactNotFoundException( String message, String groupId, String artifactId, String version, String type,
|
||||||
|
|
Loading…
Reference in New Issue