Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-310

[REGRESSION] Plugin fails to handle toolchain paths that contain spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0, 3.4.1
    • 3.4.2
    • None
    • None
    • Maven 3.9.6
      Windows 10

    Description

      When upgrading from version 3.3.0 to 3.4.0 I started getting the following build-time warning:

       

      [WARNING] Unrecognized output form C:\Program Files\Java\zulu-8\bin\javac.exe -version - 'C:\Program' is not recognized as an internal or external command,
      operable program or batch file.

       

      The contents of toolchain.xml is:

       

      <?xml version="1.0" encoding="UTF8"?>
      <toolchains>
          <toolchain>
              <type>jdk</type>
              <provides>
                  <version>8</version>
                  <vendor>zulu</vendor>
              </provides>
              <configuration>
                  <jdkHome>C:\Program Files\Java\zulu-8</jdkHome>
              </configuration>
          </toolchain>
      </toolchains>

       

      I don't know if this warning breaks anything.

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              cowwoc Gili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: