Using External Shared Modules with TIBCO ActiveMatrix BusinessWorks Plug-in for Maven
Note: The following steps are also applicable for using Binary Shared Modules with ActiveMatrix BusinessWorks Plug-in for Maven.
To use external shared modules with ActiveMatrix BusinessWorks, perform the following steps:
- Procedure
- Create a shared module project with ActiveMatrix BusinessWorks.
- Right-click the created project and select Generate POM for Shared Module. This mavenizes the project and generates a
pom.xml
for the shared module. - Create a Run or Debug Configuration for Maven. Select the shared module project and run the
clean install
goal. This installs the shared module project in the local.m2
repository. - Open a new eclipse workspace. Create an application project and to generate the POM for the application, right-click the application and select Generate POM for Application.
-
Open the Application Module
pom.xml
and add the shared module dependency, which is present in the local Maven repository, and save thepom.xml
.
The shared module project is displayed in the Project Explorer.
Note: The icon changes for the shared module project indicating the project is referenced and is not in the workspace.