remote metadata file was incorrect

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280063 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-11 03:43:23 +00:00
parent 6b442c75a9
commit 3c4effa04b

View File

@ -143,7 +143,7 @@ private boolean getRemoteArtifact( Dependency dep, File destinationFile )
File remoteFile = localRepository.getMetadataFile( dep.getGroupId(), dep.getArtifactId(),
dep.getVersion(), dep.getType(), filename );
String metadataPath = remoteRepo.getMetadataPath( dep.getGroupId(), dep.getArtifactId(),
dep.getVersion(), dep.getType(), filename );
dep.getVersion(), dep.getType(), "maven-metadata.xml" );
String metaUrl = remoteRepo.getBasedir() + "/" + metadataPath;
log( "Downloading " + metaUrl );
try