We would like to use roo but were unable to because of the limitations regarding maven dependency management.
Roo will revert manual changes to the pom.xml file which makes it difficult for us to update our dependencies.
For the initial project setup this is fine, from then on we should be able to tell roo to stop using pom.xml and start using a new file pom.roo.xml. We can then manually update our own pom.xml from pom.roo.xml as necessary.
For example: Say there is an xml configuration file in the project root directory called roo-settings.xml.
<rooSettings> <managePom>false</managePom> </rooSetting>
If we set managePom to false, roo will stop managing our pom.xml file and start managing pom.roo.xml. All updates made by roo will now show in pom.roo.xml and we have to manually copy changes to pom.xml.
roo-settings.xml could be used for other future roo settings also.
This is Similar to this issue: https://jira.springsource.org/browse/ROO-3465
- is related to
ROO-3465 Roo overwrites manual changes to the pom.xml