Accelerator POM Parent - Source

(0 reviews)

Customizations

To make changes to the POM Parent file:

  1. Download the Accelerator POM Parent asset and extract the archive to a temporary directory.
  2. Import the extracted accelerator-pom-parent folder into Studio using the Existing Projects into Workspace wizard (select the Copy projects into workspace option, if desired).
  3. Before making any changes, edit the pom.xml file and increment the version number of the actual artifact (e.g., <version>2.0.1</version>). It is important to update the version number to avoid having stale references in your local Maven repository.

To make your changes available to other applications:

  1. Edit the install script for your platform (e.g., install.cmd for Windows) and update the value of the VERSION variable to match the one in the pom.xml file.
  2. Run the install script from the command line to have Maven install the updated version in the local repository.
  3. In each application you wish to update, change the value of the parent version to match the new POM.

To make the new version available to other developers:

  1. Deploy it to your own Anypoint Exchange instance.
  2. Edit the pom.xml file again and set the groupId value to the Business Group ID of the target Anypoint instance.
  3. Update the deploy script (e.g., deploy.sh on Linux/MacOS) to set the VERSION variable as described above and then run the script. Each application that needs to use the new version must change the groupId value in the parent to match the one you used for parent POM deployment.

Reviews

TypeCustom
OrganizationMulesoft
Published by
MuleSoft Organization
Published onDec 12, 2023
Asset overview

Asset versions for 2.6.x

Asset versions
VersionActions
2.6.1
2.6.0