Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.0.8
-
None
Description
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.