cdf.setProperty(getLocationKey(artifact), origin.getLocation());
cdf.save();
}
public ArtifactOrigin getSavedArtifactOrigin(Artifact artifact) {
PropertiesFile cdf = getCachedDataFile(artifact.getModuleRevisionId());
String location = cdf.getProperty(getLocationKey(artifact));
String local = cdf.getProperty(getIsLocalKey(artifact));
boolean isLocal = Boolean.valueOf(local).booleanValue();
if (location == null) {
// origin has not been specified, return null
return null;