bw:compile-bw-ear
Full name:
fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:2.4.1:compile-bw-ear
Description:
This goal creates a TIBCO BusinessWorks EAR based on the configuration given in the project's POM.
The most important parameters are:
- bw.project.archive.builder : the location of the Enterprise Archive file inside the TIBCO BusinessWorks project
- bw.project.location : the TIBCO BusinessWorks sources location relatively to the POM
Other parameters have default values set with the global values of "settings.xml" file.
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: compile.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
| archiveFile | String | - | Path to the Archive descriptor relatively to the BusinessWorks project path. User property is: bw.project.archive.builder. |
| buildLibDirectory | File | - | Path to the dependencies (Projlibs, JARs...) for the build. Default is "target/lib" Default value is: ${project.build.directory}/lib. User property is: project.build.directory.lib. |
| buildSrcDirectory | File | - | Path to the BusinessWorks sources for the build. Default is "target/src" Default value is: ${project.build.directory}/src. User property is: project.build.directory.src. |
| finalName | String | - | Name of the generated artifact (without file extension). User property is: project.build.finalName. |
| outputDirectory | File | - | Directory containing the generated artifact. User property is: project.build.outputDirectory. |
| packageDirectory | File | - | Path to the package folder. Default is "target/package" Default value is: ${project.build.directory}/package. User property is: project.package.directory. |
| testDirectory | File | - | Path to the test folder. Default is "target/test" Default value is: ${project.build.directory}/test. User property is: project.build.test.directory. |
| testLibDirectory | File | - | Path to the dependencies (Projlibs, JARs...) for the test. Default is "target/test/lib" Default value is: ${project.build.test.directory}/lib. User property is: project.build.test.directory.lib. |
| testSrcDirectory | File | - | Path to the BusinessWorks sources for the test. Default is "target/test/src" Default value is: ${project.build.test.directory}/src. User property is: project.build.test.directory.src. |
| tibcoBWEngineTRAPath | File | - | Path to the BusinessWorks Engine TRA configuration file. User property is: bwengine.tra.path. |
| tibcoBuildEARPath | File | - | Path to the TIBCO "buildear" binary. User property is: buildear.path. |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
| classifier | String | - | (no description) User property is: project.build.classifier. |
| cleanDefaultVars | boolean | - | Allow to delete override variables from projlib User property is: bw.clean.projlib.defaultVars. |
| dependenciesIgnored | ArrayList | - | List of "groupId:artifactId" to ignore when building |
| hawkDomain | String | - | (no description) Default value is: ${tibco.domain.name}. User property is: hawk.domain. |
| hawkRvDaemon | String | - | (no description) Default value is: tcp:7474. User property is: hawk.rv.daemon. |
| hawkRvNetwork | String | - | (no description) Default value is: ;. User property is: hawk.rv.network. |
| hawkRvService | String | - | (no description) Default value is: 7474. User property is: hawk.rv.service. |
| hawkSubscribeInterval | Integer | - | (no description) Default value is: 10. User property is: hawk.subscribe.interval. |
| hawkSubscribeNumberOfRetry | Integer | - | (no description) Default value is: 30. User property is: hawk.subscribe.retry.count. |
| hawkVersion | String | - | (no description) User property is: tibco.hawk.version. |
| hideLibraryResources | boolean | - | Allows to ignore any alias when building EAR or Projlib. This will mimic the "Hide Library Resources" behaviour of the TIBCO Designer. User property is: bw.hide.library.resources. |
| projectDirectory | File | - | Path to the BusinessWorks project. User property is: bw.project.location. |
| skipCompile | Boolean | - | Whether to skip the compilation of EAR and Projlib. NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true. Default value is: false. User property is: bw.compile.skip. |
| skipEARCompile | Boolean | - | Whether to skip the compilation of EAR. NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true. Default value is: false. User property is: bw.compile.ear.skip. |
| skipPackage | Boolean | - | Whether to skip the package goals. NB: shall be used with 'maven.install.skip' and 'maven.deploy.skip' set to true. Default value is: false. User property is: bw.package.skip. |
| skipProjlibCompile | Boolean | - | Whether to skip the compilation of Projlib. NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true Default value is: false. User property is: bw.compile.projlib.skip. |
| tibcoAppManagePath | File | - | Path to the TIBCO "AppManage" binary. User property is: appmanage.path. |
| tibcoAppManageTRAPath | File | - | Path to the TIBCO "AppManage" TRA configuration file. User property is: appmanage.tra.path. |
| tibcoBuildEARTRAPath | File | - | Path to the TIBCO "buildear" TRA configuration file. User property is: buildear.tra.path. |
| tibcoBuildEARUseDesignerTRA | boolean | - | Sometimes a TRA can reference another TRA, for instance 'buildear.tra' will reference 'designer.tra'. This field specifies whether we will use the default referenced TRA or override with a provided TRA. User property is: tra.buildear.uses.designer.tra.path. |
| tibcoBuildEARValidation | Boolean | - | Whether to validate or not the EAR before building (-v switch of buildear). Default value is: true. User property is: buildear.validate. |
| tibcoBuildLibraryTRAPath | File | - | Path to the TIBCO Designer "buildlibrary" TRA configuration file. User property is: buildlibrary.tra.path. |
| tibcoBuildLibraryUseDesignerTRA | boolean | - | Sometimes a TRA can reference another TRA, for instance 'buildlibrary.tra' will reference 'designer.tra'. This field specifies whether we will use the default referenced TRA or override with a provided TRA. User property is: tra.buildlibrary.uses.designer.tra.path. |
| tibcoDesignerPath | File | - | Path to the TIBCO Designer binary. User property is: designer.path. |
| tibcoDesignerTRAPath | File | - | Path to the TIBCO Designer TRA configuration file. User property is: designer.tra.path. |
| tibcoHome | File | - | Path to the TIBCO home directory. User property is: tibco.home. |
| tibcoRvHomePath | File | - | Path to the TIBCO RendezVous folder. User property is: tibrv.home.path. |
| timeOut | int | - | Timeout for the execution of TIBCO commands to build artifacts. This time is given in seconds. Default value is: 180. User property is: timeOut. |
| touchEARIfSkipped | Boolean | - | Whether to "touch" the EAR file when EAR compilation is skipped. NB: must be used with 'bw.compile.skip' or 'bw.compile.ear.skip' set to true. Default value is: false. User property is: bw.compile.ear.skip.touch. |
| touchFinalDeploymentDescriptorIfSkipped | Boolean | - | Whether to "touch" the final deployment descriptor file when final deployment descriptor generation is skipped. NB: must be used with 'bw.package.skip' set to true. Default value is: false. User property is: bw.package.skip.deploy.descriptor.final.touch. |
| touchProjlibIfSkipped | Boolean | - | Whether to "touch" the Projlib file when Projlib compilation is skipped. NB: must be used with 'bw.compile.skip' or 'bw.compile.projlib.skip' set to true. Default value is: false. User property is: bw.compile.projlib.skip.touch. |
Parameter Details
Path to the Archive descriptor relatively to the BusinessWorks project path.
- Type: java.lang.String
- Required: Yes
- User Property: bw.project.archive.builder
Path to the dependencies (Projlibs, JARs...) for the build. Default is "target/lib"
- Type: java.io.File
- Required: Yes
- User Property: project.build.directory.lib
- Default: ${project.build.directory}/lib
Path to the BusinessWorks sources for the build. Default is "target/src"
- Type: java.io.File
- Required: Yes
- User Property: project.build.directory.src
- Default: ${project.build.directory}/src
(no description)
- Type: java.lang.String
- Required: No
- User Property: project.build.classifier
Allow to delete override variables from projlib
- Type: boolean
- Required: No
- User Property: bw.clean.projlib.defaultVars
List of "groupId:artifactId" to ignore when building
- Type: java.util.ArrayList
- Required: No
Name of the generated artifact (without file extension).
- Type: java.lang.String
- Required: Yes
- User Property: project.build.finalName
(no description)
- Type: java.lang.String
- Required: No
- User Property: hawk.domain
- Default: ${tibco.domain.name}
(no description)
- Type: java.lang.String
- Required: No
- User Property: hawk.rv.daemon
- Default: tcp:7474
(no description)
- Type: java.lang.String
- Required: No
- User Property: hawk.rv.network
- Default: ;
(no description)
- Type: java.lang.String
- Required: No
- User Property: hawk.rv.service
- Default: 7474
(no description)
- Type: java.lang.Integer
- Required: No
- User Property: hawk.subscribe.interval
- Default: 10
(no description)
- Type: java.lang.Integer
- Required: No
- User Property: hawk.subscribe.retry.count
- Default: 30
(no description)
- Type: java.lang.String
- Required: No
- User Property: tibco.hawk.version
Allows to ignore any alias when building EAR or Projlib. This will mimic the "Hide Library Resources" behaviour of the TIBCO Designer.
- Type: boolean
- Required: No
- User Property: bw.hide.library.resources
Directory containing the generated artifact.
- Type: java.io.File
- Required: Yes
- User Property: project.build.outputDirectory
Path to the package folder. Default is "target/package"
- Type: java.io.File
- Required: Yes
- User Property: project.package.directory
- Default: ${project.build.directory}/package
Path to the BusinessWorks project.
- Type: java.io.File
- Required: No
- User Property: bw.project.location
Whether to skip the compilation of EAR
and Projlib.
NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true.
NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true.
- Type: java.lang.Boolean
- Required: No
- User Property: bw.compile.skip
- Default: false
Whether to skip the compilation of EAR.
NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true.
NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true.
- Type: java.lang.Boolean
- Required: No
- User Property: bw.compile.ear.skip
- Default: false
Whether to skip the package goals. NB: shall be used with 'maven.install.skip' and 'maven.deploy.skip' set to true.
- Type: java.lang.Boolean
- Required: No
- User Property: bw.package.skip
- Default: false
Whether to skip the compilation of Projlib.
NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true
NB: shall be used with 'bw.package.skip', 'maven.install.skip' and 'maven.deploy.skip' set to true
- Type: java.lang.Boolean
- Required: No
- User Property: bw.compile.projlib.skip
- Default: false
Path to the test folder. Default is "target/test"
- Type: java.io.File
- Required: Yes
- User Property: project.build.test.directory
- Default: ${project.build.directory}/test
Path to the dependencies (Projlibs, JARs...) for the test. Default is "target/test/lib"
- Type: java.io.File
- Required: Yes
- User Property: project.build.test.directory.lib
- Default: ${project.build.test.directory}/lib
Path to the BusinessWorks sources for the test. Default is "target/test/src"
- Type: java.io.File
- Required: Yes
- User Property: project.build.test.directory.src
- Default: ${project.build.test.directory}/src
Path to the TIBCO "AppManage" binary.
- Type: java.io.File
- Required: No
- User Property: appmanage.path
Path to the TIBCO "AppManage" TRA configuration file.
- Type: java.io.File
- Required: No
- User Property: appmanage.tra.path
Path to the BusinessWorks Engine TRA configuration file.
- Type: java.io.File
- Required: Yes
- User Property: bwengine.tra.path
Path to the TIBCO "buildear" binary.
- Type: java.io.File
- Required: Yes
- User Property: buildear.path
Path to the TIBCO "buildear" TRA configuration file.
- Type: java.io.File
- Required: No
- User Property: buildear.tra.path
Sometimes a TRA can reference another TRA, for instance 'buildear.tra' will reference 'designer.tra'. This field specifies whether we will use the default referenced TRA or override with a provided TRA.
- Type: boolean
- Required: No
- User Property: tra.buildear.uses.designer.tra.path
Whether to validate or not the EAR before building (-v switch of buildear).
- Type: java.lang.Boolean
- Required: No
- User Property: buildear.validate
- Default: true
Path to the TIBCO Designer "buildlibrary" TRA configuration file.
- Type: java.io.File
- Required: No
- User Property: buildlibrary.tra.path
tibcoBuildLibraryUseDesignerTRA:
Sometimes a TRA can reference another TRA, for instance 'buildlibrary.tra' will reference 'designer.tra'. This field specifies whether we will use the default referenced TRA or override with a provided TRA.
- Type: boolean
- Required: No
- User Property: tra.buildlibrary.uses.designer.tra.path
Path to the TIBCO Designer binary.
- Type: java.io.File
- Required: No
- User Property: designer.path
Path to the TIBCO Designer TRA configuration file.
- Type: java.io.File
- Required: No
- User Property: designer.tra.path
Path to the TIBCO home directory.
- Type: java.io.File
- Required: No
- User Property: tibco.home
Path to the TIBCO RendezVous folder.
- Type: java.io.File
- Required: No
- User Property: tibrv.home.path
Timeout for the execution of TIBCO commands to build artifacts. This time is given in seconds.
- Type: int
- Required: No
- User Property: timeOut
- Default: 180
Whether to "touch" the EAR file when EAR compilation is skipped.
NB: must be used with 'bw.compile.skip' or 'bw.compile.ear.skip' set to true.
NB: must be used with 'bw.compile.skip' or 'bw.compile.ear.skip' set to true.
- Type: java.lang.Boolean
- Required: No
- User Property: bw.compile.ear.skip.touch
- Default: false
touchFinalDeploymentDescriptorIfSkipped:
Whether to "touch" the final deployment descriptor file when final deployment descriptor generation is skipped.
NB: must be used with 'bw.package.skip' set to true.
NB: must be used with 'bw.package.skip' set to true.
- Type: java.lang.Boolean
- Required: No
- User Property: bw.package.skip.deploy.descriptor.final.touch
- Default: false
Whether to "touch" the Projlib file when Projlib compilation is skipped.
NB: must be used with 'bw.compile.skip' or 'bw.compile.projlib.skip' set to true.
NB: must be used with 'bw.compile.skip' or 'bw.compile.projlib.skip' set to true.
- Type: java.lang.Boolean
- Required: No
- User Property: bw.compile.projlib.skip.touch
- Default: false
