You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Delany (Jira)" <ji...@apache.org> on 2021/02/18 08:46:00 UTC

[jira] [Created] (MTOOLCHAINS-35) No javac should be an error

Delany created MTOOLCHAINS-35:
---------------------------------

             Summary: No javac should be an error
                 Key: MTOOLCHAINS-35
                 URL: https://issues.apache.org/jira/browse/MTOOLCHAINS-35
             Project: Maven Toolchains Plugin
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Delany


If the selected toolchain is configured to point to a JRE instead of a JDK, it should fail with an error. Instead there is a warning.

[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.

I'm assuming it falls back to whatever javac is available on the system?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)