if (artifact==null) {
addErrorMessage(actionRequest, "Can not calculate the Artifact string automatically. Please manually specify one.");
return;
}
installer.installLibrary(file, artifact);
addInfoMessage(actionRequest, "File is successfully added to repository with artifact string: " + artifact.toString());
// add alias
if (replacedArtifactString != null && replacedArtifactString.length() > 0) {
ExplicitDefaultArtifactResolver instance = KernelRegistry.getSingleKernel().getGBean(ExplicitDefaultArtifactResolver.class);