|
|||||||||
| 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 | |
|---|---|
private java.util.List |
remoteRepositories
List of Ant Tasks RemoteRepository-ies |
| 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 |
addRemoteRepository(RemoteRepository remoteRepository)
|
protected java.util.List |
createRemoteArtifactRepositories()
Create the list of ArtifactRepository-ies where artifacts can be downloaded. |
private static RemoteRepository |
getDefaultRemoteRepository()
Get the default remote repository. |
java.util.List |
getRemoteRepositories()
|
private static java.lang.String |
statusAsString(RepositoryPolicy policy)
|
| Methods inherited from class org.apache.maven.artifact.ant.AbstractArtifactTask |
|---|
addLocalRepository, addPom, buildPom, createAntRemoteRepository, createAntRemoteRepositoryBase, createArtifact, createDummyPom, createLocalArtifactRepository, createRemoteArtifactRepository, diagnoseError, doExecute, execute, getContainer, getDefaultLocalRepository, getLocalRepository, getPomRefId, getSettings, getSupportedProtocols, getSupportedProtocolsAsString, lookup, lookup, setPomRefId, setProfiles, setSettingsFile |
| 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 |
|---|
private java.util.List remoteRepositories
| Constructor Detail |
|---|
public AbstractArtifactWithRepositoryTask()
| Method Detail |
|---|
private static RemoteRepository getDefaultRemoteRepository()
private static java.lang.String statusAsString(RepositoryPolicy policy)
protected java.util.List createRemoteArtifactRepositories()
AbstractArtifactTask.createRemoteArtifactRepository(RemoteRepository)public java.util.List getRemoteRepositories()
public void addRemoteRepository(RemoteRepository remoteRepository)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||