1 package org.apache.maven.artifact.repository; 2 3 18 19 import org.apache.maven.artifact.Artifact; 20 import org.apache.maven.artifact.metadata.ArtifactMetadata; 21 import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; 22 23 29 public interface ArtifactRepository 30 { 31 String pathOf( Artifact artifact ); 32 33 String pathOfRemoteRepositoryMetadata( ArtifactMetadata artifactMetadata ); 34 35 String pathOfLocalRepositoryMetadata( ArtifactMetadata metadata, ArtifactRepository repository ); 36 37 String getUrl(); 38 39 String getBasedir(); 40 41 String getProtocol(); 42 43 String getId(); 44 45 ArtifactRepositoryPolicy getSnapshots(); 46 47 ArtifactRepositoryPolicy getReleases(); 48 49 ArtifactRepositoryLayout getLayout(); 50 51 String getKey(); 52 53 boolean isUniqueVersion(); 54 55 void setBlacklisted( boolean blackListed ); 56 57 boolean isBlacklisted(); 58 } 59 | Popular Tags |