Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.9, 2.2.1, 3.0, 3.0.4
-
Fix Version/s: 3.1.0-alpha-1
-
Component/s: Plugin API
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
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:
<suffix> Hello </suffix>
results in the string value "Hello" (no leading or trailing space). The same value is produced by any one of the following constructions:
<suffix><![CDATA[ Hello ]]></suffix>
<suffix xml:space="preserve"> Hello </suffix>
I believe this is a shortcoming of the Plexus XML configuration machinery.
Issue Links
- depends upon
-
MODELLO-256
Maven pom.xml plugin configuration elements are trimmed
-
-
MODELLO-263
support xml:space="preserve" for DOM fields
-
- is depended upon by
-
MBUILDHELPER-34
Enable regex-property goal replacement value to be empty string or space character
-
- relates to
-
MNG-5166
settings.xml boolean values not be honored
-
-
MNG-5336
Descriptor Reference for settings.xml is incorrect
-
-
MRELEASE-748
trailing whitespace is stripped from scmCommentPrefix
-
Activity
| Link |
This issue relates to |
| Project | Plexus [ 10080 ] | Maven 2 & 3 [ 10500 ] |
| Key | PLX-461 |
|
| Issue Type | Bug [ 1 ] | New Feature [ 2 ] |
| Workflow | jira [ 155102 ] | Maven New [ 167837 ] |
| Component/s | Plugin API [ 11521 ] | |
| Component/s | plexus-utils [ 11174 ] | |
| Complexity | Intermediate [ 10011 ] |
| Affects Version/s | 3.0.4 [ 17215 ] | |
| Affects Version/s | 3.0 [ 13142 ] | |
| Affects Version/s | 2.2.1 [ 15328 ] | |
| Affects Version/s | 2.0.9 [ 13801 ] |
| Link |
This issue depends upon |
| Link |
This issue depends upon |
| Assignee | Herve Boutemy [ hboutemy ] | |
| Fix Version/s | 3.1.0 [ 18967 ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
| Link |
This issue is depended upon by |