code-review:generate-sonar-rules
Full name:
fr.fastconnect.factory.tibco.bw.codereview:code-review-plugin:2.0.0:generate-sonar-rules
Description:
This goal generates a "rules.xml" file which can be put in "$SONAR_HOME/conf" directory of Sonarqube.
This will enable the import of custom rules in Sonarqube.
Attributes:
- Invokes the execution of the lifecycle phase test prior to executing itself.
- Invokes the execution of this plugin's goal generate-sonar-rules prior to executing itself.
- Executes in its own lifecycle: sonar.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
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. |
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. |
tibcoBWEnginePath | File | - | Path to the BusinessWorks Engine binary. User property is: bwengine.path. |
tibcoBWEngineTRAPath | File | - | Path to the BusinessWorks Engine TRA configuration file. User property is: bwengine.tra.path. |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
codeReviewProjectDirectory | File | - | Path to the CodeReview BusinessWorks project. Default value is: ${project.review.directory}/project. User property is: project.review.project.directory. |
dependenciesIgnored | ArrayList | - | List of "groupId:artifactId" to ignore when building |
displayResourcesDırectory | File | - | Path to display resources files (CSS, images...) Default value is: ${project.review.directory}/resources. User property is: project.review.resources.directory. |
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. |
lang | String | - | (no description) Default value is: FR. User property is: codereview.language. |
outputDirectory | File | - | Path to the output directory of the Code Review. Default value is: ${project.build.directory}/review. User property is: project.review.directory. |
outputFormats | List | - | (no description) |
projectDirectory | File | - | Path to the BusinessWorks project. User property is: bw.project.location. |
recursive | Boolean | - | (no description) Default value is: false. User property is: bw.review.rules.recursive. |
retryInterval | int | - | (no description) Default value is: 1. User property is: codereview.retryInterval. |
rulesOutput | File | - | (no description) Default value is: ${project.review.directory}/rules.xml. User property is: bw.review.rules.output. |
rulesPath | String | - | (no description) Default value is: /CodeReview/Processes/Review. User property is: bw.review.rules.path. |
rulesPattern | String | - | (no description) Default value is: [A-Z]{3}-(.*)\.process. User property is: bw.review.rules.pattern. |
skipReview | boolean | - | (no description) Default value is: false. User property is: bw.review.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. |
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 | - | (no description) Default value is: 100. User property is: codereview.timeout. |
Parameter Details
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
Path to the CodeReview BusinessWorks project.
- Type: java.io.File
- Required: No
- User Property: project.review.project.directory
- Default: ${project.review.directory}/project
List of "groupId:artifactId" to ignore when building
- Type: java.util.ArrayList
- Required: No
Path to display resources files (CSS, images...)
- Type: java.io.File
- Required: No
- User Property: project.review.resources.directory
- Default: ${project.review.directory}/resources
(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
lang:
(no description)
- Type: java.lang.String
- Required: No
- User Property: codereview.language
- Default: FR
Path to the output directory of the Code Review.
- Type: java.io.File
- Required: No
- User Property: project.review.directory
- Default: ${project.build.directory}/review
(no description)
- Type: java.util.List
- Required: No
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
(no description)
- Type: java.lang.Boolean
- Required: No
- User Property: bw.review.rules.recursive
- Default: false
(no description)
- Type: int
- Required: No
- User Property: codereview.retryInterval
- Default: 1
(no description)
- Type: java.io.File
- Required: No
- User Property: bw.review.rules.output
- Default: ${project.review.directory}/rules.xml
(no description)
- Type: java.lang.String
- Required: No
- User Property: bw.review.rules.path
- Default: /CodeReview/Processes/Review
(no description)
- Type: java.lang.String
- Required: No
- User Property: bw.review.rules.pattern
- Default: [A-Z]{3}-(.*)\.process
(no description)
- Type: boolean
- Required: No
- User Property: bw.review.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 binary.
- Type: java.io.File
- Required: Yes
- User Property: bwengine.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" 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
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
(no description)
- Type: int
- Required: No
- User Property: codereview.timeout
- Default: 100