[ 
https://issues.apache.org/jira/browse/MTOOLCHAINS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286366#comment-17286366
 ] 

Michael Osipov edited comment on MTOOLCHAINS-35 at 2/18/21, 9:04 AM:
---------------------------------------------------------------------

Regardless of the warning, does a toolchain always require a javac? What if the 
project does not compile anything? E.g., type {{pom}}.


was (Author: michael-o):
Regardless of the warning, does a toolchain always require a javac? What if the 
project does not compile anything?

> 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 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)

Reply via email to