TIBCOSoftware / bw6-plugin-maven

Plug-in Code for Apache Maven and TIBCO ActiveMatrix BusinessWorks™
Other
65 stars 78 forks source link

POM files do not get updated with application/module/parent renames #260

Open HiteshNembhwani opened 5 years ago

HiteshNembhwani commented 5 years ago

Using BWCE 2.4.3 version with Maven 2.1.1 version.

References in POMS are not updated when renaming application, module or parent (Ubuntu/VM or Windows)

Re-generating the POM files or manually updating the files are two options but updating references to POM files with application/module/parent renames will be useful.

sshingav-tibco commented 5 years ago

Hi @HiteshNembhwani

Regenerating POM file is the only way to update the application/module/parent if we rename the application/module/parent.

In this scenario 1)I have created a new BusinessWorks Application Module called demo. 2) Generate the pom file for the same. 3) Rename the demo Module to demo1. 4) Delete the old demo.application. 5) Generate the application from the demo1 module. 6) Regenerate POM file from demo1.application.

It will update the reference in the POM file.