public class ResolveBWTestDependenciesMojo extends AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
This goal resolves TIBCO BusinessWorks dependencies (especially Projlibs)
defined in the POM of the project.
The resolution is transitive and follows the Maven standard and uses the
'test' scope.
These dependencies are then copied by copy-bw-test-dependencies.
A builtin goal from Maven is called by this goal with a custom configuration
defined in the 'components.xml' file from Plexus. This allows to use the
builtin goal bound to a lifecycle phase without adding configuration in POMs.
Please refer to AbstractWrapperForBuiltinMojo
for a full explanation
of the lifecycle binding of a builtin Maven plugin.
Original goal : org.apache.maven.plugins:maven-dependency-plugin:list
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
artifactId |
protected java.util.Properties |
configuration
The actual Mojo configuration found in the Plexus 'components.xml' file.
|
protected java.lang.String |
goal |
protected java.lang.String |
groupId |
protected org.apache.maven.plugin.BuildPluginManager |
pluginManager
The Build Plugin Manager (this one is Java5 annotation style).
|
protected org.apache.maven.project.MavenProject |
project
The project currently being build.
|
protected java.util.List<org.apache.maven.model.Resource> |
resources
Optional resources parameter do define includes/excludes filesets
|
protected org.apache.maven.execution.MavenSession |
session
The current Maven session.
|
protected java.lang.String |
version |
Constructor and Description |
---|
ResolveBWTestDependenciesMojo() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getArtifactId() |
protected java.util.Properties |
getConfiguration() |
protected java.lang.String |
getGoal() |
protected java.lang.String |
getGroupId() |
protected org.apache.maven.plugin.BuildPluginManager |
getPluginManager() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected java.util.List<org.apache.maven.model.Resource> |
getResources() |
protected org.apache.maven.execution.MavenSession |
getSession() |
protected java.lang.String |
getVersion() |
execute, generateCustomElements, getEnvironment
protected java.lang.String groupId
protected java.lang.String artifactId
protected java.lang.String version
protected java.lang.String goal
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.execution.MavenSession session
@Component(role=org.apache.maven.plugin.BuildPluginManager.class) protected org.apache.maven.plugin.BuildPluginManager pluginManager
protected java.util.Properties configuration
<component> <role>org.apache.maven.plugin.Mojo</role> <role-hint>default-resolve-bw-dependencies</role-hint> <implementation>fr.fastconnect.factory.tibco.bw.maven.builtin.ResolveBWTestDependenciesMojo</implementation> <isolated-realm>false</isolated-realm> <configuration> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> <goal>list</goal> <configuration> <property> <name>outputFile</name> <value>${project.build.test.directory}/resolved</value> </property> <property> <name>includeTypes</name> <value>projlib,jar</value> </property> <property> <name>includeScope</name> <value>test</value> </property> </configuration> </configuration> <requirements> <requirement> <role>org.apache.maven.plugin.BuildPluginManager</role> <role-hint /> <field-name>pluginManager</field-name> </requirement> </requirements> </component>
protected java.util.List<org.apache.maven.model.Resource> resources
protected java.lang.String getGroupId()
getGroupId
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected java.lang.String getArtifactId()
getArtifactId
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected java.lang.String getVersion()
getVersion
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected java.lang.String getGoal()
getGoal
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected org.apache.maven.project.MavenProject getProject()
getProject
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected org.apache.maven.execution.MavenSession getSession()
getSession
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected org.apache.maven.plugin.BuildPluginManager getPluginManager()
getPluginManager
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected java.util.Properties getConfiguration()
getConfiguration
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
protected java.util.List<org.apache.maven.model.Resource> getResources()
getResources
in class AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>