File expectedFile = new File( managedLegacyDir, path );
File remoteFile = new File( REPOPATH_PROXIED1, remotePath );
setManagedOlderThanRemote( expectedFile, remoteFile );
ArtifactReference artifact = managedLegacyRepository.toArtifactReference( path );
// Configure Connector (usually done within archiva.xml configuration)
saveConnector( ID_LEGACY_MANAGED, ID_PROXIED1, ChecksumPolicy.FIX, ReleasesPolicy.ALWAYS,
SnapshotsPolicy.ALWAYS, CachedFailuresPolicy.NO, false );