public class CopyBWDependenciesMojo extends AbstractWrapperForBuiltinMojo<org.apache.maven.model.Resource>
This goal copies TIBCO BusinessWorks dependencies (especially Projlibs) in a
temporary folder.
These dependencies will be used to create a unique environment (used to
launch the Designer and to package an EAR).
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:copy-dependencies
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 |
---|
CopyBWDependenciesMojo() |
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-dependencies</role-hint> <implementation>fr.fastconnect.factory.tibco.bw.maven.builtin.CopyBWDependenciesMojo</implementation> <isolated-realm>false</isolated-realm> <configuration> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> <goal>copy-dependencies</goal> <configuration> <property> <name>outputDirectory</name> <value>${project.build.directory}/lib</value> </property> <property> <name>includeTypes</name> <value>projlib,jar</value> </property> <property> <name>includeScope</name> <value>runtime</value> </property> <property> <name>overWriteIfNewer</name> <value>true</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>