public interface ReactorProject
Modifier and Type | Field and Description |
---|---|
static String |
CTX_DEPENDENCY_METADATA
Conventional key used to store dependency metadata in MavenProject.context
|
static String |
CTX_REACTOR_PROJECT
Conventional key used to store ReactorProject in MavenProject.context
|
static String |
CTX_SECONDARY_DEPENDENCY_METADATA
Conventional key used to store secondary dependency metadata in MavenProject.context
|
static String |
SOURCE_ARTIFACT_CLASSIFIER
Conventional sources jar Maven artifact classifier.
|
Modifier and Type | Method and Description |
---|---|
File |
getArtifact()
Returns main project artifact file or null, if the project has not been packaged yet.
|
File |
getArtifact(String artifactClassifier)
returns attached artifact file or null if no such attached artifact.
|
String |
getArtifactId() |
File |
getBasedir() |
File |
getBuildDirectory() |
Object |
getContextValue(String key) |
Map<String,Set<Object>> |
getDependencyMetadata()
Returns project dependency metadata.
|
Set<Object> |
getDependencyMetadata(String classifier,
boolean primary)
Returns live set of P2 IInstallableUnit's that describe requirements and provided
capabilities of this project used during project dependency resolution for the specified
classifier.
|
String |
getExpandedVersion()
Per-classifier project P2 metadata.
|
String |
getGroupId() |
String |
getId()
human-readable id used in error messages
|
File |
getOutputDirectory() |
String |
getPackaging() |
File |
getTestOutputDirectory() |
String |
getVersion() |
boolean |
sameProject(Object otherProject) |
void |
setContextValue(String key,
Object value) |
void |
setDependencyMetadata(String classifier,
boolean primary,
Set<Object> installableUnits)
Returns live set of Manve artifact classifiers that have been (or will be) attached to the
project during the build.
|
void |
setExpandedVersion(String originalVersion,
String qualifier) |
static final String CTX_REACTOR_PROJECT
static final String CTX_DEPENDENCY_METADATA
static final String CTX_SECONDARY_DEPENDENCY_METADATA
static final String SOURCE_ARTIFACT_CLASSIFIER
File getBasedir()
String getPackaging()
String getGroupId()
String getArtifactId()
String getVersion()
File getOutputDirectory()
File getBuildDirectory()
File getTestOutputDirectory()
File getArtifact()
File getArtifact(String artifactClassifier)
void setDependencyMetadata(String classifier, boolean primary, Set<Object> installableUnits)
null and is NOT included in the returned set.
Set<Object> getDependencyMetadata(String classifier, boolean primary)
Map<String,Set<Object>> getDependencyMetadata()
null
represents main the project artifact. Map values are sets of both primary and secondary
project installable units.String getExpandedVersion()
String getId()
boolean sameProject(Object otherProject)
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.