1 22 package org.objectweb.petals.tools.jbiplugin.mock; 23 24 import org.apache.maven.artifact.Artifact; 25 import org.apache.maven.artifact.metadata.ArtifactMetadata; 26 import org.apache.maven.artifact.repository.ArtifactRepository; 27 import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy; 28 import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; 29 30 35 public class ArtifactRepositoryMock implements ArtifactRepository { 36 37 private String baseDir; 38 39 public void setBaseDir(String baseDir) { 40 this.baseDir = baseDir; 41 } 42 43 public String pathOf(Artifact arg0) { 44 return null; 45 } 46 47 public String pathOfRemoteRepositoryMetadata(ArtifactMetadata arg0) { 48 return null; 49 } 50 51 public String pathOfLocalRepositoryMetadata(ArtifactMetadata arg0, 52 ArtifactRepository arg1) { 53 return null; 54 } 55 56 public String getUrl() { 57 return null; 58 } 59 60 public String getBasedir() { 61 return baseDir; 62 } 63 64 public String getProtocol() { 65 return null; 66 } 67 68 public String getId() { 69 return null; 70 } 71 72 public ArtifactRepositoryPolicy getSnapshots() { 73 return null; 74 } 75 76 public ArtifactRepositoryPolicy getReleases() { 77 return null; 78 } 79 80 public ArtifactRepositoryLayout getLayout() { 81 return null; 82 } 83 84 public String getKey() { 85 return null; 86 } 87 88 public boolean isUniqueVersion() { 89 return false; 90 } 91 92 public void setBlacklisted(boolean arg0) { 93 } 94 95 public boolean isBlacklisted() { 96 return false; 97 } 98 99 } 100 | Popular Tags |