javamavencompiler-specific

Does Maven have a Java Compiler


In the articles I've read about Maven, I can't tell for sure whether Maven itself has a Java compiler or whether it relies on the compiler in JDK or both.


Solution

  • Maven does not have an embedded compiler. Maven requires that you set the JAVA_HOME environment variable which points to a JDK installation.