[forge-issues] [JBoss JIRA] (FORGE-1268) MavenPomResource should extend XMLResource

George Gastaldi (JIRA) jira-events at lists.jboss.org
Fri Oct 18 23:23:01 EDT 2013


George Gastaldi created FORGE-1268:
--------------------------------------

             Summary: MavenPomResource should extend XMLResource
                 Key: FORGE-1268
                 URL: https://issues.jboss.org/browse/FORGE-1268
             Project: Forge
          Issue Type: Feature Request
          Components: Build Tools - Maven, Parsers / File Manipulation
    Affects Versions: 2.0.0.Alpha13
            Reporter: George Gastaldi
             Fix For: 2.0.0.Alpha14


When MavenPomResource is requested from the ResourceFactory AND the parser-xml addon is installed, a XMLResource is returned instead, causing exceptions and returning null if the reify method is used. 

Since a maven pom is a XML, the solution is to extend XMLResource.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list