Using External Shared Modules with TIBCO ActiveMatrix BusinessWorks Plug-in for Maven

Follow the steps below to use external shared modules with ActiveMatrix BusinessWorks:

    Procedure
  1. Create a shared module project with ActiveMatrix BusinessWorks.
  2. Right-click on the created project and select Generate POM for Shared Module. This mavenizes the project and generates a pom.xml for the shared module.
  3. Create a Run or Debug Configuration for Maven. Select the shared module project and execute the clean install goal. This installs the shared module project in the local .m2 repository.
  4. 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.
  5. Open the Application Module pom.xml and add the shared module dependency, which is present in the local maven repository, and save the pom.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.