public interface MavenArtifactRepository extends ArtifactRepository, AuthenticationSupported
Modifier and Type | Method and Description |
---|---|
void |
artifactUrls(java.lang.Object... urls)
Adds some additional URLs to use to find artifact files.
|
java.util.Set<java.net.URI> |
getArtifactUrls()
Returns the additional URLs to use to find artifact files.
|
java.net.URI |
getUrl()
The base URL of this repository.
|
void |
setArtifactUrls(java.lang.Iterable<?> urls)
Sets the additional URLs to use to find artifact files.
|
void |
setUrl(java.lang.Object url)
Sets the base URL of this repository.
|
getName, setName
credentials, getCredentials
java.net.URI getUrl()
setArtifactUrls(Iterable)
.void setUrl(java.lang.Object url)
setArtifactUrls(Iterable)
.
The provided value is evaluated as for Project.uri(Object)
. This means, for example, you can pass in a File
object, or a relative path to be evaluated relative
to the project directory.
url
- The base URL.java.util.Set<java.net.URI> getArtifactUrls()
void artifactUrls(java.lang.Object... urls)
The provided values are evaluated as for Project.uri(Object)
. This means, for example, you can pass in a File
object, or a relative path to be evaluated
relative to the project directory.
urls
- The URLs to add.void setArtifactUrls(java.lang.Iterable<?> urls)
The provided values are evaluated as for Project.uri(Object)
. This means, for example, you can pass in a File
object, or a relative path to be evaluated
relative to the project directory.
urls
- The URLs.