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() |
BuildOutputDirectory |
getBuildDirectory() |
String |
getBuildQualifier() |
Object |
getContextValue(String key) |
Set<?> |
getDependencyMetadata()
Returns project dependency metadata with both primary and secondary project installable
units.
|
Set<?> |
getDependencyMetadata(boolean primary)
Returns set of p2 IInstallableUnits that describe requirements and provided
capabilities of this project.
|
String |
getExpandedVersion() |
String |
getGroupId() |
String |
getId()
human-readable id used in error messages
|
ReactorProjectIdentities |
getIdentities() |
File |
getOutputDirectory() |
String |
getPackaging() |
File |
getTestOutputDirectory() |
String |
getVersion() |
boolean |
sameProject(Object otherProject) |
void |
setContextValue(String key,
Object value) |
void |
setDependencyMetadata(boolean primary,
Set<?> installableUnits) |
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()
ReactorProjectIdentities getIdentities()
File getOutputDirectory()
BuildOutputDirectory getBuildDirectory()
File getTestOutputDirectory()
File getArtifact()
File getArtifact(String artifactClassifier)
void setDependencyMetadata(boolean primary, Set<?> installableUnits)
Set<?> getDependencyMetadata(boolean primary)
Set<?> getDependencyMetadata()
String getBuildQualifier()
String getExpandedVersion()
String getId()
boolean sameProject(Object otherProject)
Copyright © 2008–2018 Eclipse Foundation. All rights reserved.