maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <>
Subject [jira] Commented: (MNG-3316) Barfs at attribues named .*encoding
Date Wed, 09 Jan 2008 22:39:09 GMT


Herve Boutemy commented on MNG-3316:

ok, I was able to reproduce the problem.
I opened PLXUTILS-60, since the problem is in XmlStreamReader class in plexus-utils (and in
fact in XmlReader class from Rome, which is the library I got the class from :) )

> Barfs at attribues named .*encoding
> -----------------------------------
>                 Key: MNG-3316
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM::Encoding
>    Affects Versions: 2.0.8
>            Reporter: David J. M. Karlsen
>            Priority: Blocker
>         Attachments: examplepom.xml, pom.xml
> With 2.0.8 a regression snuck in:
> Please see attached pom for details.
> In several of my project I use xdoclet-maven-plugin. In xdoclet-maven-plugin's configuration
element there is an element, with an attribute xmlencoding="${variable}" (installed into my
repository - NOT talking about building them).
> If maven tries to read these pom's (from my repo) it barfs with an error message:
> "
> Project ID:
> Reason: Failed to build model from file 'c:\data\.m2\repository\some\group\id\myproject-war\1.3-SNAPSHOT\myproject-war-1.3-SNAPSHOT.pom'.
> Error: '${ENCODING.DEFAULT}' for project .
> "
> This did NOT happen before 2.0.8 - so it must be a regression.
> What really puzzles me is why maven tries to parse these tags in the first place (as
they are configurations for elements which should be of no value for this maven execution)
- but I guess it was introduced when fixing MNG-2932, MNG-2025 and/or MNG-2254 without knowing
any details.
> As 2.0.8 fails the entire build (which works on 2.0.7) I'm rating this as Blocker.

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