Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-alpha-7
-
None
Description
Using a settings.xml like
<settings> <profiles> <profile> <id>test</id> <properties> <jdbc.url>${test.prop}</jdbc.url> </properties> </profile> </profiles> </settings>
the invocation
mvn validate -D "test.prop=&x=y"
fails with
[ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effective settings [ERROR] Failed to interpolate settings: entity reference name can not contain character =' (position: START_TAG seen ...<jdbc.url>&x=... @7:22) @