public ArtifactRepository GetArtifactRepository() { ArtifactRepository artifactRepository = new ArtifactRepository(); artifactRepository.Init(this, new DirectoryInfo(SettingsUtil.GetLocalRepositoryPath())); return(artifactRepository); }
public static string GetLocalUacPath(Artifact.Artifact artifact, string ext) { return(Path.Combine(SettingsUtil.GetLocalRepositoryPath(), string.Format(@"{0}\{1}\{1}{2}-{3}", Tokenize(artifact.GroupId), artifact.ArtifactId, artifact.Version, ext))); }