apache / apache/maven-toolchains-plugin
[MTOOLCHAINS-35] No javac in jdk toolchain should be an error
- Dominant language
- Java
- Stars
- 27
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
**[Delany](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=delany)** opened **[MTOOLCHAINS-35](https://issues.apache.org/jira/browse/MTOOLCHAINS-35?redirect=false)** and commented
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.
---
**Affects:** 3.0.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.