apply changes from tag maven 2.0 rev 326649

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326654 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-19 19:13:44 +00:00
parent d25845da43
commit 99ed67e747
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class DefaultRepositoryMetadataManager
File file = new File( localRepository.getBasedir(), File file = new File( localRepository.getBasedir(),
localRepository.pathOfLocalRepositoryMetadata( metadata, repository ) ); localRepository.pathOfLocalRepositoryMetadata( metadata, repository ) );
boolean checkForUpdates = policy.checkOutOfDate( new Date( file.lastModified() ) ); boolean checkForUpdates = policy.checkOutOfDate( new Date( file.lastModified() ) ) || !file.exists();
if ( checkForUpdates ) if ( checkForUpdates )
{ {