* {@inheritDoc}
*/
public void removePackage(final JcrPackageManager jcrPackageManager,
final String groupName, final String name,
final String version) throws RepositoryException {
final PackageId packageId = new PackageId(groupName, name, version);
final JcrPackage jcrPackage = jcrPackageManager.open(packageId);
if (jcrPackage != null && jcrPackage.getNode() != null) {
jcrPackage.getNode().remove();
jcrPackage.getNode().getSession().save();
} else {
log.debug("Nothing to remove at: ", packageId.getInstallationPath());
}
}