[jbosstools-issues] [JBoss JIRA] (JBIDE-17241) Forge should use the m2e settings.xml during Maven artifact resolution

Vineet Reynolds (JIRA) issues at jboss.org
Wed May 7 16:32:56 EDT 2014


Vineet Reynolds created JBIDE-17241:
---------------------------------------

             Summary: Forge should use the m2e settings.xml during Maven artifact resolution
                 Key: JBIDE-17241
                 URL: https://issues.jboss.org/browse/JBIDE-17241
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: forge
    Affects Versions: 4.2.0.Beta1
            Reporter: Vineet Reynolds


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.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list