类 PreCompileMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.baidu.jprotobuf.mojo.AbstractExecMojo
com.baidu.jprotobuf.mojo.PreCompileMojo
所有已实现的接口:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="precompile", defaultPhase=COMPILE, threadSafe=true, requiresDependencyResolution=COMPILE) public class PreCompileMojo extends AbstractExecMojo
Executes JprotobufPreCompileMain main method to invoke JProtobuf pre comple action
从以下版本开始:
1.2.1
作者:
xiemalin
  • 字段详细资料

    • outputDirectory

      @Parameter(defaultValue="${project.build.outputDirectory}") protected File outputDirectory
      The directory where the generated archive file will be put.
    • outputParentDirectory

      @Parameter(defaultValue="${project.build.directory}") protected File outputParentDirectory
      The directory where the generated archive file will be put.
  • 构造器详细资料

    • PreCompileMojo

      public PreCompileMojo()
  • 方法详细资料

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Execute goal.
      抛出:
      org.apache.maven.plugin.MojoExecutionException - execution of the main class or one of the threads it generated failed.
      org.apache.maven.plugin.MojoFailureException - something bad happened...