Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2584

Collapsing of double backslash now that quotes are supported in maven options

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • 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

          gdurand created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          lloydskoyd made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Alan Harder made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Alan Harder made changes -
          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
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132657 ] New: JNJira + In-Review [ 173938 ]

            Unassigned Unassigned
            gdurand gdurand
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: