Accelerator POM Parent - Source
Customizations
To make changes to the POM Parent file:
- Download the Accelerator POM Parent asset and extract the archive to a temporary directory.
- Import the extracted
accelerator-pom-parentfolder into Studio using theExisting Projects into Workspacewizard (select theCopy projects into workspaceoption, if desired). - Before making any changes, edit the
pom.xmlfile 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:
- Edit the install script for your platform (e.g.,
install.cmdfor Windows) and update the value of theVERSIONvariable to match the one in thepom.xmlfile. - Run the install script from the command line to have Maven install the updated version in the local repository.
- 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:
- Deploy it to your own Anypoint Exchange instance.
- Edit the
pom.xmlfile again and set thegroupIdvalue to the Business Group ID of the target Anypoint instance. - Update the deploy script (e.g.,
deploy.shon Linux/MacOS) to set theVERSIONvariable as described above and then run the script. Each application that needs to use the new version must change thegroupIdvalue in the parent to match the one you used for parent POM deployment.