Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17241

Forge should use the m2e settings.xml during Maven artifact resolution

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Beta3
    • 4.2.0.Beta1
    • forge

      When I have a project like TicketMonster or any of the WFK examples in my workspace, I configure m2e to use a separate settings.xml file (say ~/.m2/contributor-settings.xml or ~/.m2/redhat-repos.xml) which point to the RedHat enterprise repositories or other repos. My usual settings.xml file lacks this.

      Forge uses the ~/.m2/settings.xml file by default, even though the Eclipse workspace uses a different one. From the point of view of end-users this results in weird behavior in Forge. For example, Forge facets are not activated correctly because the Maven artifacts in the Red Hat enterprise repo could not be found.

      It requires the user to modify the content of ~/.m2/settings.xml instead of just pointing to a different one, which is a bit unreasonable of Forge, given the current capabilites of m2e.

            rhn-support-ggastald George Gastaldi
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: