Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3478

Maven Dependency Management - Increase Flexibility

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.5.RELEASE
    • Fix Version/s: 2.0.0.M2
    • Component/s: @ CORE
    • Labels:
      None
    • Environment:
      Dependency Management

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcgarcia Juan Carlos GarcĂ­a del Canto
                Reporter:
                jackmatt2 Jack Matthews
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: