-
Notifications
You must be signed in to change notification settings - Fork 80
List of BW Maven Plugin Properties
Following properties are available from BW Maven Plugin 2.3.0
"disableMocking " is used to disable mocking for all mocked activities of BW Application.
true: Disable the mocking for all mocked activities from BW application.
false: Enable the mocking for all mocked activities from BW application.
mvn test -DdisableMocking=true
This property can be used along with "test" and "site" goal
"disableAssertions" is used to disable Assertions added for all activities of BW Application.
true: Assertions will not be run for all activities which are under unit testing from BW application.
false: Assertions will be run for all activities which are under unit testing from BW application.
mvn test -DdisableAssertions=true
This property can be used along with "test" and "site" goal
"showFailureDetails" is used to show provided Input and Gold Input in case of Test Failure.
true: It will show the failure details in the console logs and BW execution report for the activities which are under unit testing from BW application.
false: It will not show the failure details in the console logs and BW execution report for the activities which are under unit testing from BW application.
mvn test -DshowFailureDetails=true
mvn site -DshowFailureDetails=true
This property can be used along with "test" and "site" goal. Set to true
by default from 2.7.1 onwards.
"testSuiteName" is used to run the Test Suite.Provide the test suite name as a value to the property while running the "test" goal
mvn test -DtestSuiteName=%Test Suite Name%
mvn test -DtestSuiteName=ActivityAssertionTestSuite.bwts
User can Run mutiple test suite in sequence by proving the Test Suite names seperate by "/".
mvn test -DtestSuiteName=%TestSuiteName1%/%TestSuiteName2%
mvn test -DtestSuiteName=ActivityAssertionTestSuite.bwts/FaultTestSuite.bwts
This property can be used along with "test" and "site" goal
"customArgEngine" property has been provided to pass the custom argument property file while starting the BW Engine. User needs to create a .properties file which will have the list of custom arguments in the form of -Dkey=value. The path of same .properties file needs to be passed to the "customArgEngine" property.
mvn test -DcustomArgEngine="D:\Issues\customArgEngine\sample.properties" where sample.properties file has the list of custom arguments.
The support has been provided for Absolute Path, Relative path and URL based file path.
Note: In case of relative path user need to keep properties file in Application Project.
"skipInitMainProcessActivities" is used to skip init for all main process activities .
true: It will skip init for all main process activities.
false: It will initiate the main process activities.
mvn test -DskipInitMainProcessActivities=true
mvn site -DskipInitMainProcessActivities=false
"skipInitAllNonTestProcessActivities" is used to skip init for all non unit test process activities .
true: It will skip init for all non unit test process activities.
false: It will initiate all non unit test process activities.
mvn test -DskipInitAllNonTestProcessActivities=true
mvn site -DskipInitAllNonTestProcessActivities=false
If user does not want to auto start application after deployment then this flag can be used. By default the value of "startOnDeploy" is "true"
true: It will auto start application after deployment.
false: It won't auto start application after deployment.
mvn install-DstartOnDeploy=false
Please refer Troubleshooting page for more properties.
Getting started
- Steps to Mavenize BW Application
- Building applications for BWCE
- EAR deployment with Config File
- Shared Modules with Maven
- Add Process Diagram in EAR
- BW Design Utility Goals
- CI/CD using Jenkins
- Custom XPath Function
- Deploy Shared Module on Remote Repository
- TCI Deployment using Maven Plugin
Unit Testing
- Primitive Assertion
- Activity Assertion
- Activity Assertion with Gold Input File
- Mock Output
- Mock Fault
- Test Suite
- Plugin Properties
Help & Contribute