|
||||||||||
| 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 | |
|---|---|
java.lang.String |
MD5_ALGO_NAME
|
java.lang.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 java.util.List |
createRemoteArtifactRepositories()
|
protected java.util.List |
createRemoteArtifactRepositories(java.util.List pomRepositories)
Create the list of ArtifactRepository-ies where artifacts can be downloaded. |
java.lang.String |
generateDefaultRepositoryId(RemoteRepository repository)
Generates an MD5 digest based on the url of the repository. |
java.util.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 java.lang.String MD5_ALGO_NAME
public final java.lang.String UTF_ENC_NAME
| Constructor Detail |
|---|
public AbstractArtifactWithRepositoryTask()
| Method Detail |
|---|
protected java.util.List createRemoteArtifactRepositories()
protected java.util.List createRemoteArtifactRepositories(java.util.List pomRepositories)
pomRepositories - additionnal repositories defined in pom (or null if none)
AbstractArtifactTask.createRemoteArtifactRepository(RemoteRepository)public java.util.List getRemoteRepositories()
public void addConfiguredRemoteRepository(RemoteRepository remoteRepository)
remoteRepository - public java.lang.String generateDefaultRepositoryId(RemoteRepository repository)
repository -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||