mirror of https://github.com/apache/maven.git
flush metadata, ensuring local copy only set on install
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280340 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8948d497ce
commit
a4e6dffe49
|
@ -76,6 +76,7 @@ public class DefaultArtifactDeployer
|
|||
ArtifactMetadata metadata = (ArtifactMetadata) i.next();
|
||||
repositoryMetadataManager.deploy( metadata, localRepository, deploymentRepository );
|
||||
}
|
||||
artifact.getMetadataList().clear();
|
||||
}
|
||||
catch ( TransferFailedException e )
|
||||
{
|
||||
|
|
|
@ -75,6 +75,7 @@ public class DefaultArtifactInstaller
|
|||
ArtifactMetadata metadata = (ArtifactMetadata) i.next();
|
||||
repositoryMetadataManager.install( metadata, localRepository );
|
||||
}
|
||||
artifact.getMetadataList().clear();
|
||||
}
|
||||
catch ( IOException e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue