-
public interface ArtifactDescriptorAn artifact (i.e. a file) in project build target platform.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClassifier()Maven artifact classifier.Set<Object>getInstallableUnits()P2 metadata describing the projectArtifactKeygetKey()Eclipse/OSGi artifact key (a.k.a.FilegetLocation(boolean fetch)Artifact location on local filesystemReactorProjectgetMavenProject()ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.
-
-
-
Method Detail
-
getKey
ArtifactKey getKey()
Eclipse/OSGi artifact key (a.k.a. "coordinates") that uniquely identify the artifact
-
getLocation
File getLocation(boolean fetch)
Artifact location on local filesystem- Parameters:
fetch- whether to fetch artifact if not already available locally- Returns:
- the artifact location if already available or if
fetch=trueand fetching succeds;nullotherwise.
-
getMavenProject
ReactorProject getMavenProject()
ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.
-
getClassifier
String getClassifier()
Maven artifact classifier. Not null only for classified artifacts coming from a reactor project (eg, sources jar).
-
-