repoPath = repoPath.substring(0, repoPath.lastIndexOf('/'));
}
// check for any attached sources or docs
Log log = getLog();
ObrUpdate update;
try {
URI acrXmlFile = ObrUtils.findObrXml(project);
Config userConfig = new Config();
update = new ObrUpdate(repoXML, acrXmlFile, project, repoPath, userConfig, log);
update.parseRepositoryXml();
updateLocalBundleMetadata(project.getArtifact(), update);
update.writeRepositoryXml();
} catch (Exception e) {
log.warn("Exception while updating ACR : " + e.getLocalizedMessage(), e);
}