ensure it gets checked

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-28 14:26:41 +00:00
parent 5d82fcb8a6
commit 78770ba39f

View File

@ -314,6 +314,7 @@ private Model findModelFromRepository( Artifact artifact, List remoteArtifactRep
artifact.getArtifactId() + ": updating metadata due to status of '" + status + "'" ); artifact.getArtifactId() + ": updating metadata due to status of '" + status + "'" );
try try
{ {
artifact.setFile( null );
artifactResolver.resolveAlways( artifact, remoteArtifactRepositories, localRepository ); artifactResolver.resolveAlways( artifact, remoteArtifactRepositories, localRepository );
} }
catch ( ArtifactResolutionException e ) catch ( ArtifactResolutionException e )