cdf.setProperty("artifact." + artifact.getName() + ".is-local", String.valueOf(origin.isLocal())); cdf.setProperty("artifact." + artifact.getName() + ".location", origin.getLocation());
cdf.setProperty("artifact." + artifact.getName() + "#" + artifact.getExt() + ".is-local", String.valueOf(origin.isLocal())); cdf.setProperty("artifact." + artifact.getName() + "#" + artifact.getExt() + ".location", origin.getLocation());
    public void saveArtifactOrigin(File cache, Artifact artifact, ArtifactOrigin origin) {       PropertiesFile cdf = getCachedDataFile(cache, artifact.getModuleRevisionId());       cdf.setProperty("artifact." + artifact.getName() + ".is-local", String.valueOf(origin.isLocal()));       cdf.setProperty("artifact." + artifact.getName() + ".location", origin.getLocation());       cdf.save();    }