com.atlassian.confluence.it.maven
Class LocalMavenDependency
java.lang.Object
com.atlassian.confluence.it.maven.LocalMavenDependency
- All Implemented Interfaces:
- MavenDependency
public class LocalMavenDependency
- extends 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.
Method Summary |
File |
getFile()
Returns a file representing the dependency in the local repository, using the conventions of a Maven 2
repository. |
String |
toString()
|
LocalMavenDependency
public LocalMavenDependency(String groupId,
String artifactId,
String version,
String packaging)
getFile
public 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 String toString()
- Specified by:
toString
in interface MavenDependency
- Overrides:
toString
in class Object
Copyright © 2003-2012 Atlassian. All Rights Reserved.