if (!sourceRepository.contains(configId)) {
throw new MissingDependencyException("source repository at " + sourceRepositoryFile + " does not contain artifact " + configId);
}
if (!targetRepository.contains(configId)) {
File sourceFile = sourceRepository.getLocation(configId);
targetRepository.copyToRepository(sourceFile, configId, BaseConfigInstaller.LOG_COPY_START);
}
}
}