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

Maven Dependency Management - Increase Flexibility

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Complete
    • 1.2.5.RELEASE
    • 2.0.0.M2
    • @ CORE
    • None
    • 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

              jcgarcia Juan Carlos GarcĂ­a del Canto
              jackmatt2 Jack Matthews
              Archiver:
              tmarshall Trevor Marshall

              Dates

                Created:
                Updated:
                Resolved:
                Archived: