Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2-beta-2
-
None
-
None
Description
I have a home directory that, for reasons that are mostly uninteresting, has a & in it. Using ${basedir} in my projects' assembly descriptors causes the XML parser for the descriptor to complain about
[INFO] Error reading assemblies: Error reading descriptor at: src/main/assembly/examples.xml: Cannot read assembly descriptor from interpolating filter of serialized version.
entity reference names can not start with character ' ' (position: START_TAG seen ...<directory>/Volumes/Network Users & ... @7:43)
This seems to also be true for any other XML-magic character (any from the set &, <, >, ", or ').
Attached is a zip of a minimal project that demonstrates the problem (even if your $HOME doesn't have & in it) way, buildable with mvn package.