ExplicitDefaultArtifactResolver instance = KernelRegistry.getSingleKernel().getGBean(ExplicitDefaultArtifactResolver.class);
Properties set = new Properties();
set.put(jarName, group + "/" + artifact + "/" + version + "/" + fileType);
instance.addAliases(set);
}
repo.copyToRepository(file, new Artifact(group, artifact, version, fileType), new FileWriteMonitor() {
public void writeStarted(String fileDescription, int fileSize) {
log.info("Copying into repository " + fileDescription + "...");
}
public void writeProgress(int bytes) {