[ 
https://jira.codehaus.org/browse/MNG-5380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MNG-5380:
-------------------------------

    Fix Version/s: 3.1.0
         Assignee: Herve Boutemy
    
> Cannot preserve whitespace in Maven plugin configuration
> --------------------------------------------------------
>
>                 Key: MNG-5380
>                 URL: https://jira.codehaus.org/browse/MNG-5380
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Plugin API
>    Affects Versions: 2.0.9, 2.2.1, 3.0, 3.0.4
>            Reporter: Laird Nelson
>            Assignee: Herve Boutemy
>             Fix For: 3.1.0
>
>
> This bug may be filed in the wrong place; for that I apologize in advance.
> My Maven plugin configuration (which I think is parsed and implemented by 
> Plexus) does not preserve leading or trailing (or only) whitespace content.
> A (mapped-to-{{String}}) configuration element like this:
> {noformat}
> <suffix>   Hello   </suffix>
> {noformat}
> results in the string value "Hello" (no leading or trailing space).  The same 
> value is produced by any one of the following constructions:
> {noformat}
> <suffix><![CDATA[   Hello   ]]></suffix>
> {noformat}
> {noformat}
> <suffix xml:space="preserve">   Hello   </suffix>
> {noformat}
> I believe this is a shortcoming of the Plexus XML configuration machinery.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to