void (Artifact artifact) { final ModifiableArtifactModel model = getArtifactManager().createModifiableModel(); model.getOrCreateModifiableArtifact(artifact).setBuildOnMake(true); commitModel(model); }