public class Maven30ArtifactRepositoryAdapter extends Object implements ArtifactRepository
RemoteRepository
Constructor and Description |
---|
Maven30ArtifactRepositoryAdapter(org.sonatype.aether.repository.RemoteRepository remoteRepository) |
public Maven30ArtifactRepositoryAdapter(org.sonatype.aether.repository.RemoteRepository remoteRepository)
remoteRepository
- RemoteRepository
public String pathOf(Artifact artifact)
pathOf
in interface ArtifactRepository
public String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
pathOfRemoteRepositoryMetadata
in interface ArtifactRepository
public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
pathOfLocalRepositoryMetadata
in interface ArtifactRepository
public String getUrl()
getUrl
in interface ArtifactRepository
public void setUrl(String url)
setUrl
in interface ArtifactRepository
public String getBasedir()
getBasedir
in interface ArtifactRepository
public String getProtocol()
getProtocol
in interface ArtifactRepository
public String getId()
getId
in interface ArtifactRepository
public void setId(String id)
setId
in interface ArtifactRepository
public ArtifactRepositoryPolicy getSnapshots()
getSnapshots
in interface ArtifactRepository
public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy)
setSnapshotUpdatePolicy
in interface ArtifactRepository
public ArtifactRepositoryPolicy getReleases()
getReleases
in interface ArtifactRepository
public void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy)
setReleaseUpdatePolicy
in interface ArtifactRepository
public ArtifactRepositoryLayout getLayout()
getLayout
in interface ArtifactRepository
public void setLayout(ArtifactRepositoryLayout layout)
setLayout
in interface ArtifactRepository
public String getKey()
getKey
in interface ArtifactRepository
public boolean isUniqueVersion()
isUniqueVersion
in interface ArtifactRepository
public boolean isBlacklisted()
isBlacklisted
in interface ArtifactRepository
public void setBlacklisted(boolean blackListed)
setBlacklisted
in interface ArtifactRepository
public Artifact find(Artifact artifact)
find
in interface ArtifactRepository
public List<String> findVersions(Artifact artifact)
findVersions
in interface ArtifactRepository
public boolean isProjectAware()
isProjectAware
in interface ArtifactRepository
public void setAuthentication(Authentication authentication)
setAuthentication
in interface ArtifactRepository
public Authentication getAuthentication()
getAuthentication
in interface ArtifactRepository
public void setProxy(Proxy proxy)
setProxy
in interface ArtifactRepository
public Proxy getProxy()
getProxy
in interface ArtifactRepository
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.