Maven Compiler Plugin
  1. Maven Compiler Plugin
  2. MCOMPILER-30

Compiler fork executable fails when the path has spaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      JAVA_1_3_HOME=C:\Program Files\Java\jdk1.3.1_18

      <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
      <fork>true</fork>
      <compilerVersion>1.3</compilerVersion>
      <executable>$

      {JAVA_1_3_HOME}

      /bin/javac</executable>
      </configuration>
      </plugin>

      Fails with

      Failure executing javac, but could not parse the error:
      'C:\Program' is not recognized as an internal or external command,
      operable program or batch file.

        Issue Links

          Activity

          Carlos Sanchez created issue -
          Carlos Sanchez made changes -
          Field Original Value New Value
          Link This issue depends upon PLX-161 [ PLX-161 ]
          Carlos Sanchez made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Carlos Sanchez [ carlos ]
          Resolution Fixed [ 1 ]
          Carlos Sanchez made changes -
          Fix Version/s 2.1 [ 12304 ]
          Carlos Sanchez made changes -
          Link This issue is related to MSUREFIRE-88 [ MSUREFIRE-88 ]
          Carlos Sanchez made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Carlos Sanchez made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Carlos Sanchez made changes -
          Fix Version/s 2.1 [ 12304 ]
          Carlos Sanchez made changes -
          Link This issue is duplicated by MCOMPILER-79 [ MCOMPILER-79 ]
          Carlos Sanchez made changes -
          Assignee Carlos Sanchez [ carlos ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Dan Rollo made changes -
          Link This issue is related to MCOMPILER-79 [ MCOMPILER-79 ]
          Brett Porter made changes -
          Fix Version/s 2.0.2 [ 12484 ]
          Michael Osipov made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Won't Fix [ 2 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:20:51 UTC 2015 [ 1428225651644 ]
          Mark Thomas made changes -
          Link This issue is related to SUREFIRE-77 [ SUREFIRE-77 ]
          Mark Thomas made changes -
          Workflow jira [ 12718548 ] Default workflow, editable Closed status [ 12749967 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:48:53 UTC 2015 [ 1428274133206 ]
          Mark Thomas made changes -
          Link This issue is related to SUREFIRE-77 [ SUREFIRE-77 ]
          Mark Thomas made changes -
          Workflow jira [ 12956164 ] Default workflow, editable Closed status [ 12993207 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Carlos Sanchez
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development