|
|||||||||
| 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 atifact tasks that are able to download artifact from repote repositories.
| Field Summary | |
|---|---|
String |
MD5_ALGO_NAME
|
String |
UTF_ENC_NAME
|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
AbstractArtifactWithRepositoryTask()
|
|
| Method Summary | |
|---|---|
void |
addConfiguredRemoteRepository(RemoteRepository remoteRepository)
This is called automatically by ant when the task is initialized. |
protected List |
createRemoteArtifactRepositories()
|
protected List |
createRemoteArtifactRepositories(List 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 |
getRemoteRepositories()
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, 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 createRemoteArtifactRepositories()
protected List createRemoteArtifactRepositories(List pomRepositories)
pomRepositories - additionnal repositories defined in pom (or null if none)
AbstractArtifactTask.createRemoteArtifactRepository(RemoteRepository)public List 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 | ||||||||