Class CompilerMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="compile",
          defaultPhase=COMPILE,
          threadSafe=true,
          requiresDependencyResolution=COMPILE)
    public class CompilerMojo
    extends AbstractCompilerMojo
    Compiles application sources. By default uses the javac compiler of the JDK used to execute Maven. This can be overwritten through Toolchains or parameter AbstractCompilerMojo.compilerId.
    Since:
    2.0
    Author:
    Jason van Zyl
    See Also:
    javac Command