Class DefaultArtifactRepository
java.lang.Object
org.apache.maven.wagon.repository.Repository
org.apache.maven.artifact.repository.DefaultArtifactRepository
- All Implemented Interfaces:
Serializable,ArtifactRepository
@Deprecated
public class DefaultArtifactRepository
extends org.apache.maven.wagon.repository.Repository
implements ArtifactRepository
Deprecated.
This class is an abstraction of the location from/to resources can be
transfered.
- Author:
- Michal Maczka
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout) Deprecated.Create a local repository or a test repository.DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout, boolean uniqueVersion) Deprecated.Create a remote deployment repository.DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) Deprecated.Create a remote download repository. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.findVersions(Artifact artifact) Deprecated.Deprecated.getKey()Deprecated.Deprecated.Deprecated.getProxy()Deprecated.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.Deprecated.pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) Deprecated.pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata) Deprecated.voidsetAuthentication(Authentication authentication) Deprecated.voidsetBlacklisted(boolean blacklisted) Deprecated.voidsetBlocked(boolean blocked) Deprecated.voidsetLayout(ArtifactRepositoryLayout layout) Deprecated.voidsetMirroredRepositories(List<ArtifactRepository> mirroredRepositories) Deprecated.voidDeprecated.voidDeprecated.voidsetSnapshotUpdatePolicy(ArtifactRepositoryPolicy snapshots) Deprecated.toString()Deprecated.Methods inherited from class org.apache.maven.wagon.repository.Repository
equals, getBasedir, getHost, getId, getName, getParameter, getPassword, getPermissions, getPort, getProtocol, getUrl, getUsername, hashCode, setBasedir, setId, setName, setParameters, setPermissions, setPort, setProtocol, setUrlMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.artifact.repository.ArtifactRepository
getBasedir, getId, getProtocol, getUrl, setId, setUrl
-
Constructor Details
-
DefaultArtifactRepository
Deprecated.Create a local repository or a test repository.- Parameters:
id- the unique identifier of the repositoryurl- the URL of the repositorylayout- the layout of the repository
-
DefaultArtifactRepository
public DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout, boolean uniqueVersion) Deprecated.Create a remote deployment repository.- Parameters:
id- the unique identifier of the repositoryurl- the URL of the repositorylayout- the layout of the repositoryuniqueVersion- whether to assign each snapshot a unique version
-
DefaultArtifactRepository
public DefaultArtifactRepository(String id, String url, ArtifactRepositoryLayout layout, ArtifactRepositoryPolicy snapshots, ArtifactRepositoryPolicy releases) Deprecated.Create a remote download repository.- Parameters:
id- the unique identifier of the repositoryurl- the URL of the repositorylayout- the layout of the repositorysnapshots- the policies to use for snapshotsreleases- the policies to use for releases
-
-
Method Details
-
pathOf
Deprecated.- Specified by:
pathOfin interfaceArtifactRepository
-
pathOfRemoteRepositoryMetadata
Deprecated.- Specified by:
pathOfRemoteRepositoryMetadatain interfaceArtifactRepository
-
pathOfLocalRepositoryMetadata
public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) Deprecated.- Specified by:
pathOfLocalRepositoryMetadatain interfaceArtifactRepository
-
setLayout
Deprecated.- Specified by:
setLayoutin interfaceArtifactRepository
-
getLayout
Deprecated.- Specified by:
getLayoutin interfaceArtifactRepository
-
setSnapshotUpdatePolicy
Deprecated.- Specified by:
setSnapshotUpdatePolicyin interfaceArtifactRepository
-
getSnapshots
Deprecated.- Specified by:
getSnapshotsin interfaceArtifactRepository
-
setReleaseUpdatePolicy
Deprecated.- Specified by:
setReleaseUpdatePolicyin interfaceArtifactRepository
-
getReleases
Deprecated.- Specified by:
getReleasesin interfaceArtifactRepository
-
getKey
Deprecated.- Specified by:
getKeyin interfaceArtifactRepository
-
isBlacklisted
public boolean isBlacklisted()Deprecated.- Specified by:
isBlacklistedin interfaceArtifactRepository
-
setBlacklisted
public void setBlacklisted(boolean blacklisted) Deprecated.- Specified by:
setBlacklistedin interfaceArtifactRepository
-
toString
Deprecated.- Overrides:
toStringin classorg.apache.maven.wagon.repository.Repository
-
find
Deprecated.- Specified by:
findin interfaceArtifactRepository
-
findVersions
Deprecated.- Specified by:
findVersionsin interfaceArtifactRepository
-
isProjectAware
public boolean isProjectAware()Deprecated.- Specified by:
isProjectAwarein interfaceArtifactRepository
-
getAuthentication
Deprecated.- Specified by:
getAuthenticationin interfaceArtifactRepository
-
setAuthentication
Deprecated.- Specified by:
setAuthenticationin interfaceArtifactRepository
-
getProxy
Deprecated.- Specified by:
getProxyin interfaceArtifactRepository
-
setProxy
Deprecated.- Specified by:
setProxyin interfaceArtifactRepository
-
isUniqueVersion
public boolean isUniqueVersion()Deprecated.- Specified by:
isUniqueVersionin interfaceArtifactRepository
-
getMirroredRepositories
Deprecated.- Specified by:
getMirroredRepositoriesin interfaceArtifactRepository
-
setMirroredRepositories
Deprecated.- Specified by:
setMirroredRepositoriesin interfaceArtifactRepository
-
isBlocked
public boolean isBlocked()Deprecated.- Specified by:
isBlockedin interfaceArtifactRepository
-
setBlocked
public void setBlocked(boolean blocked) Deprecated.- Specified by:
setBlockedin interfaceArtifactRepository
-