-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Platform: All, OS: Windows XP
In a maven 2 project, if I add a property in the m2 options whose value is
surronded by double-quotes (because the value contains spaces) the invocation of
m2 fails just as if the quotes where removed.
For instance if my options are: install -Dmy.property="my value", then m2 fails
because "value" is not a valid goal.
Note that the freestyle projects treat quotes properly.
—
Reopen: Issue was reopened because added quote support affects backslashes. Double-backslash now gets collapsed to one.. see comments below.
[JENKINS-2584] Collapsing of double backslash now that quotes are supported in maven options
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Status | Original: Reopened [ 4 ] | New: Open [ 1 ] |
Description |
Original:
In a maven 2 project, if I add a property in the m2 options whose value is surronded by double-quotes (because the value contains spaces) the invocation of m2 fails just as if the quotes where removed. For instance if my options are: install -Dmy.property="my value", then m2 fails because "value" is not a valid goal. Note that the freestyle projects treat quotes properly. |
New:
In a maven 2 project, if I add a property in the m2 options whose value is surronded by double-quotes (because the value contains spaces) the invocation of m2 fails just as if the quotes where removed. For instance if my options are: install -Dmy.property="my value", then m2 fails because "value" is not a valid goal. Note that the freestyle projects treat quotes properly. --- Reopen: Issue was reopened because added quote support affects backslashes. Double-backslash now gets collapsed to one.. see comments below. |
Summary | Original: Quotes not supported in maven options | New: Collapsing of double backslash now that quotes are supported in maven options |
Component/s | New: maven-plugin [ 16033 ] | |
Component/s | Original: maven2 [ 15487 ] |
Workflow | Original: JNJira [ 132657 ] | New: JNJira + In-Review [ 173938 ] |