File source = artifact.getFile();
DefaultRepositoryLayout layout = new DefaultRepositoryLayout();
//remove timestamp version
artifact = factory.createArtifactWithClassifier(artifact.getGroupId(), artifact.getArtifactId(), artifact.getBaseVersion(), artifact.getType(), artifact.getClassifier());
File target = new File(system.resolve(layout.pathOf(artifact)));
if (!target.exists()) {
target.getParentFile().mkdirs();
try {
copy(source, target);