You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2010/09/24 18:20:35 UTC
[jira] Closed: (MASSEMBLY-378) Property expansion in
assembly/component descriptors does not escape &, <, >, ", or '
[ http://jira.codehaus.org/browse/MASSEMBLY-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-378.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.2-beta-6
Assignee: John Casey
This has been fixed for awhile now, since we changed the way assembly interpolation was done. I've just added an IT to verify it, though.
> Property expansion in assembly/component descriptors does not escape &, <, >, ", or '
> -------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-378
> URL: http://jira.codehaus.org/browse/MASSEMBLY-378
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-2
> Reporter: Owen Jacobson
> Assignee: John Casey
> Fix For: 2.2-beta-6
>
> Attachments: assembly-escaping-issues.zip
>
>
> 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}}.
--
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