maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Espen Wiborg (JIRA)" <>
Subject [jira] Created: (MNG-3838) Some POMs fail to parse if the are subject to ModelContainer joining
Date Thu, 13 Nov 2008 21:20:13 GMT
Some POMs fail to parse if the are subject to ModelContainer joining

                 Key: MNG-3838
             Project: Maven 2
          Issue Type: Bug
          Components: POM
    Affects Versions: 3.0
            Reporter: Espen Wiborg
            Priority: Blocker

With Maven 3.0-SNAPSHOT built from svn r713815, the POM in the attachment fails to parse with
the output in fail.log.  The interesting bit is reproduced here:

{noformat} org.codehaus.plexus.util.xml.pull.XmlPullParserException: end tag name
</plugin> must match start tag name <dependencies> from line 12 (position: START_TAG
seen ...<dependencies></plugin>... @12:24) :

<project xsi:schemaLocation=""
 xmlns:xsi=""  xmlns=""
[...lots more...]

As far as I can make out, the problem is that the ModelContainer joining carried out in ModelTransformerContext.transform
(on line 269) fails to take into account that it may leave the wrapper collection empty. 
Such an empty collection then leads ModelMarshaller astray later.

The example POM is a stripped-down version of the org.apache.cxf:cfx-parent:2.1 POM, which
is how I discovered the issue.

This broke sometime after 2008-10-13.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message