|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.ant.ArtifactResolverWrapper
public class ArtifactResolverWrapper
Wrapper object to resolve artifact.
| Method Summary | |
|---|---|
java.lang.String |
getArtifactAbsolutePath(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
Return the artifact path in the local repository for an artifact defined by its groupId,
its artifactId and its version. |
protected org.apache.maven.artifact.factory.ArtifactFactory |
getFactory()
|
static ArtifactResolverWrapper |
getInstance(org.apache.maven.artifact.resolver.ArtifactResolver resolver,
org.apache.maven.artifact.factory.ArtifactFactory factory,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
java.util.List remoteRepositories)
|
java.lang.String |
getLocalArtifactPath(org.apache.maven.artifact.Artifact artifact)
Gets the path to the specified artifact relative to the local repository's base directory. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
getLocalRepository()
|
protected java.util.List |
getRemoteRepositories()
|
protected org.apache.maven.artifact.resolver.ArtifactResolver |
getResolver()
|
protected void |
setFactory(org.apache.maven.artifact.factory.ArtifactFactory factory)
|
protected void |
setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
|
protected void |
setRemoteRepositories(java.util.List remoteRepositories)
|
protected void |
setResolver(org.apache.maven.artifact.resolver.ArtifactResolver resolver)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ArtifactResolverWrapper getInstance(org.apache.maven.artifact.resolver.ArtifactResolver resolver,
org.apache.maven.artifact.factory.ArtifactFactory factory,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
java.util.List remoteRepositories)
resolver - factory - localRepository - remoteRepositories -
protected org.apache.maven.artifact.factory.ArtifactFactory getFactory()
protected void setFactory(org.apache.maven.artifact.factory.ArtifactFactory factory)
protected org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
protected void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
protected java.util.List getRemoteRepositories()
protected void setRemoteRepositories(java.util.List remoteRepositories)
protected org.apache.maven.artifact.resolver.ArtifactResolver getResolver()
protected void setResolver(org.apache.maven.artifact.resolver.ArtifactResolver resolver)
public java.lang.String getArtifactAbsolutePath(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
throws java.io.IOException
groupId,
its artifactId and its version.
groupId - artifactId - version -
java.io.IOException - if anypublic java.lang.String getLocalArtifactPath(org.apache.maven.artifact.Artifact artifact)
artifact - The artifact whose path should be determined, must not be null.
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||