[ 
https://issues.apache.org/jira/browse/MTOOLCHAINS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold updated MTOOLCHAINS-35:
---------------------------------------------
    Description: 
If the selected jdk 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?

Edited to indicate that this only applies to the jdk toolchain, not to all 
toolchains which might select other things like Eclipse versions that aren't 
even JDKs at all.  

  was:
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?


> 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
>            Priority: Major
>
> If the selected jdk 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?
> Edited to indicate that this only applies to the jdk toolchain, not to all 
> toolchains which might select other things like Eclipse versions that aren't 
> even JDKs at all.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to