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, it first checks the 'localRepository' system property, then looks
at your ~/.m2/settings.xml to see if a localRepository is set. If not, it defaults to ~/.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–2015 Atlassian. All rights reserved.