Javac Task
Compiles source in ${basedir}/target/build/main to classes under the ${basedir}/target/classes directory. Any files in build/main excluding java sources and package.html files are copied to the classes directory along with all files from the target/build/etc/main directory.
The classpath used for compilation will be constructed automatically based on build dependencies (and dependent project transitive dependencies) derived from the project model.
<x:javac/>
build: [javac] Compiling 5 source files to F:\dev\avalon\planet\tutorials\dynamics\target\classes [copy] Copying 1 file to F:\dev\avalon\planet\tutorials\dynamics\target\classes
Properties
The following properties may be used to customize the input paths for source content.
Property | Description |
---|---|
${java.compile.debug} | Sets the debug compilation mode to 'true' or 'false'. Default is false. |
${java.compile.fork} | Sets the javac fork option to 'true' or 'false'. Default is false. |