cdf.remove("artifact." + artifact.getName() + ".location"); cdf.remove("artifact." + artifact.getName() + ".is-local");
cdf.remove("artifact." + artifact.getName() + "#" + artifact.getExt() + ".location"); cdf.remove("artifact." + artifact.getName() + "#" + artifact.getExt() + ".is-local");
    public void removeSavedArtifactOrigin(File cache, Artifact artifact) {        PropertiesFile cdf = getCachedDataFile(cache, artifact.getModuleRevisionId());        cdf.remove("artifact." + artifact.getName() + ".location");        cdf.remove("artifact." + artifact.getName() + ".is-local");        cdf.save();    }