-
Notifications
You must be signed in to change notification settings - Fork 80
SharedModule
When shared module project is present in the workspace
Create an application project "Sample" and a shared Module "logging". Refer subprocess from the shared module in your application module.
Generate POM for your Application by right clicking on the Application and choosing the 'Generate POM for Application' menu item. The wizard should list down all the shared modules referenced by the application.
The parent project pom.xml should list down all the modules as below -
<modules>
<module>../Logging</module>
<module>../Sample.module</module>
<module>../Sample</module>
</modules>
If a new shared module is added after mavenizing the project. You can launch 'Generate POM for Application' wizard again to regenerate pom.xml files.
Accessing Shared Modules without importing them in the workspace
This feature is only supported from BW 6.4.2 and BWCE 2.3.2. You will need the Studio from these versions. Earlier versions do not support this feature
Create new Shared Module project - "LoggingModule". Right Click, Select option "Generate POM for Shared Module". It will mavenize the project and generates pom.xml for the shared module.
Create new "Run\Debug Configuration" for Maven. Select shared module project and execute "clean install" goal. This will install the shared module in local .m2 repository.
Open new eclipse workspace. Create new application project.
Generate POM for your Application by right clicking on the Application and choosing the 'Generate POM for Application' menu item.
Open the Application Module pom.xml and add the shared module dependency which is present in your local maven repository. In this example I have a LoggingModule jar file which is in my ~/.m2/repository
folder
Save your pom.xml
You should now see the Shared Module in the Studio Project Explorer. Note the different icon for the project which indicates that the Shared Module is referenced and not in the workspace.
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