mirror of https://github.com/apache/maven.git
Fix snapshot downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07cac37dfe
commit
10a71275e5
|
@ -98,7 +98,7 @@ public class ArtifactDownloader
|
|||
directory.mkdirs();
|
||||
}
|
||||
|
||||
if ( destinationFile.exists() && !file.endsWith( SNAPSHOT_SIGNATURE ) )
|
||||
if ( destinationFile.exists() && file.indexOf( SNAPSHOT_SIGNATURE ) < 0 )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue