public void artifactSetUp() { ReferenceManager refMngr = new ReferenceManager(); Artifact.Artifact artifact = new Artifact.Artifact(); artifact.GroupId = "npanday.artifact"; artifact.Version = "1.1-SNAPSHOT"; artifact.ArtifactId = "NPanday.Artifact"; artifact.Extension = "dll"; refMngr.CopyArtifact(artifact); }
public void addMavenArtifact() { testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary1.dll"); refManager.CopyArtifact(testArtifact, null); Assert.IsTrue(new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll").Exists); }