public class CopyBWTestSourcesMojo extends AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
This goal copies the TIBCO BusinessWorks project sources to a temporary
folder for the 'test' scope.
These sources will be used to run the tests (see
bw:bw-test).
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-resources-plugin:copy-resources
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 |
---|
CopyBWTestSourcesMojo() |
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-copy-bw-test-sources</role-hint> <implementation>fr.fastconnect.factory.tibco.bw.maven.builtin.CopyBWTestSourcesMojo</implementation> <isolated-realm>false</isolated-realm> <configuration> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.6</version> <goal>copy-resources</goal> <resources> <resource> <directory>${bw.project.location}</directory> <filtering>true</filtering> </resource> </resources> <configuration> <property> <name>outputDirectory</name> <value>${project.build.test.directory.src}</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>