@PublicApi public class LocalMavenDependency extends Object implements MavenDependency
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.
Constructor and Description |
---|
LocalMavenDependency(String groupId,
String artifactId,
String version,
String packaging) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
File |
getFile()
Returns a file representing the dependency in the local repository, using the conventions of a Maven 2
repository.
|
String |
getGroupId() |
String |
getPackaging() |
String |
getVersion() |
String |
toString() |
public File getFile()
getFile
in interface MavenDependency
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getPackaging()
public String toString()
toString
in interface MavenDependency
toString
in class Object
Copyright © 2003–2017 Atlassian. All rights reserved.