[ http://jira.codehaus.org/browse/MNG-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116497 ]
David J. M. Karlsen commented on MNG-3316: ------------------------------------------ It should also be noted that if I remote the element containing the xmlencoding attribute the build will succeed. > Barfs at attribues named .*encoding > ----------------------------------- > > Key: MNG-3316 > URL: http://jira.codehaus.org/browse/MNG-3316 > Project: Maven 2 > Issue Type: Bug > Components: POM::Encoding > Affects Versions: 2.0.8 > Reporter: David J. M. Karlsen > Priority: Blocker > Attachments: examplepom.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: some.group.id:myproject-war > 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 some.group.id:myproject-war . > " > 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: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira