|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.dotnet.PathUtil
public final class PathUtil
This class provides methods for obtaining the location of artifacts.
Constructor Summary | |
---|---|
PathUtil()
|
Method Summary | |
---|---|
static java.io.File |
getGlobalAssemblyCacheFileFor(org.apache.maven.artifact.Artifact artifact,
java.io.File gacRepository)
Returns the path of the artifact within the global assembly cache. |
static java.io.File |
getMavenLocalRepositoryFileFor(org.apache.maven.artifact.Artifact artifact,
java.io.File localRepository)
Returns the path of the artifact within the local repository using the default repository layout. |
static java.io.File |
getPrivateApplicationBaseFileFor(org.apache.maven.artifact.Artifact artifact,
java.io.File localRepository)
Returns the path of the artifact within the private application base. |
static java.io.File |
getUserAssemblyCacheFileFor(org.apache.maven.artifact.Artifact artifact,
java.io.File localRepository)
Returns the path of the artifact within the user assembly cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathUtil()
Method Detail |
---|
public static java.io.File getGlobalAssemblyCacheFileFor(org.apache.maven.artifact.Artifact artifact, java.io.File gacRepository)
artifact
- the artifact to find the path of. This value should not be null.gacRepository
- the root directory of the GAC. This value should not be null.
public static java.io.File getMavenLocalRepositoryFileFor(org.apache.maven.artifact.Artifact artifact, java.io.File localRepository)
artifact
- the artifact to find the path of. This value should not be null.localRepository
- the local repository. This value should not be null.
public static java.io.File getPrivateApplicationBaseFileFor(org.apache.maven.artifact.Artifact artifact, java.io.File localRepository)
artifact
- the artifact to find the path of. This value should not be null.localRepository
- the local repository. This value should not be null.
public static java.io.File getUserAssemblyCacheFileFor(org.apache.maven.artifact.Artifact artifact, java.io.File localRepository)
artifact
- the artifact to find the path of. This value should not be null.localRepository
- the local repository. This value should not be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |