|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.maven.artifact.ant.AbstractArtifactTask
org.apache.maven.artifact.ant.AbstractArtifactWithRepositoryTask
public abstract class AbstractArtifactWithRepositoryTask
Base class for artifact tasks that are able to download artifact from remote repositories.
Field Summary | |
---|---|
String |
MD5_ALGO_NAME
|
String |
UTF_ENC_NAME
|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
AbstractArtifactWithRepositoryTask()
|
Method Summary | |
---|---|
void |
addConfiguredRemoteRepository(RemoteRepository remoteRepository)
This is called automatically by ant when the task is initialized. |
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
createRemoteArtifactRepositories()
|
protected List<org.apache.maven.artifact.repository.ArtifactRepository> |
createRemoteArtifactRepositories(List<org.apache.maven.model.Repository> pomRepositories)
Create the list of ArtifactRepository-ies where artifacts can be downloaded. |
String |
generateDefaultRepositoryId(RemoteRepository repository)
Generates an MD5 digest based on the url of the repository. |
List<RemoteRepository> |
getRemoteRepositories()
The repositories configured in the Ant task |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final String MD5_ALGO_NAME
public final String UTF_ENC_NAME
Constructor Detail |
---|
public AbstractArtifactWithRepositoryTask()
Method Detail |
---|
protected List<org.apache.maven.artifact.repository.ArtifactRepository> createRemoteArtifactRepositories()
protected List<org.apache.maven.artifact.repository.ArtifactRepository> createRemoteArtifactRepositories(List<org.apache.maven.model.Repository> pomRepositories)
pomRepositories
- additional repositories defined in pom (or null if none)
AbstractArtifactTask.createRemoteArtifactRepository(RemoteRepository)
public List<RemoteRepository> getRemoteRepositories()
public void addConfiguredRemoteRepository(RemoteRepository remoteRepository)
remoteRepository
- public String generateDefaultRepositoryId(RemoteRepository repository)
repository
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |