org.apache.maven.artifact.repository
public class DefaultArtifactRepository extends Repository implements ArtifactRepository
Version: $Id: DefaultArtifactRepository.java 306560 2005-10-06 09:40:13Z brett $
Constructor Summary | |
---|---|
DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout)
Create a local repository or a test repository.
| |
DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout, boolean uniqueVersion)
Create a remote deployment repository.
| |
DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases)
Create a remote download repository.
|
Method Summary | |
---|---|
String | getKey() |
ArtifactRepositoryLayout | getLayout() |
ArtifactRepositoryPolicy | getReleases() |
ArtifactRepositoryPolicy | getSnapshots() |
boolean | isBlacklisted() |
boolean | isUniqueVersion() |
String | pathOf(Artifact artifact) |
String | pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) |
String | pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata) |
void | setBlacklisted(boolean blacklisted) |
Parameters: id the unique identifier of the repository url the URL of the repository layout the layout of the repository
Parameters: id the unique identifier of the repository url the URL of the repository layout the layout of the repository uniqueVersion whether to assign each snapshot a unique version
Parameters: id the unique identifier of the repository url the URL of the repository layout the layout of the repository snapshots the policies to use for snapshots releases the policies to use for releases