public interface MavenArtifactRepository extends ArtifactRepository, AuthenticationSupported
Modifier and Type | Method and Description |
---|---|
void |
artifactUrls(Object... urls)
Adds some additional URLs to use to find artifact files.
|
Set<URI> |
getArtifactUrls()
Returns the additional URLs to use to find artifact files.
|
URI |
getUrl()
The base URL of this repository.
|
void |
setArtifactUrls(Iterable<?> urls)
Sets the additional URLs to use to find artifact files.
|
void |
setUrl(Object url)
Sets the base URL of this repository.
|
getName, setName
credentials, getCredentials
URI getUrl()
setArtifactUrls(Iterable)
.void setUrl(Object url)
setArtifactUrls(Iterable)
.
The provided value is evaluated as per 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.Set<URI> getArtifactUrls()
void artifactUrls(Object... urls)
The provided values are evaluated as per 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(Iterable<?> urls)
The provided values are evaluated as per 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.