com.atlassian.confluence.it.maven
Class LocalMavenDependency
java.lang.Object
com.atlassian.confluence.it.maven.LocalMavenDependency
- All Implemented Interfaces:
- MavenDependency
public class LocalMavenDependency
- extends java.lang.Object
- implements MavenDependency
Represents a Maven dependency found in the local repository.
To determine the location of the local repository, first checks the 'localRepository' system property, then uses
~/.m2/repository.
Constructor Summary |
LocalMavenDependency(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String packaging)
|
Method Summary |
java.io.File |
getFile()
Returns a file representing the dependency in the local repository, using the conventions of a Maven 2
repository. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LocalMavenDependency
public LocalMavenDependency(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String packaging)
getFile
public java.io.File getFile()
- Returns a file representing the dependency in the local repository, using the conventions of a Maven 2
repository. The file that is returned may or may not exist.
- Specified by:
getFile
in interface MavenDependency
toString
public java.lang.String toString()
- Specified by:
toString
in interface MavenDependency
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.