类 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
-
字段概要
字段修饰符和类型字段说明protected FileThe directory where the generated archive file will be put.protected FileThe directory where the generated archive file will be put.从类继承的字段 com.baidu.jprotobuf.mojo.AbstractExecMojo
classpathScope, project从接口继承的字段 org.apache.maven.plugin.Mojo
ROLE -
构造器概要
构造器 -
方法概要
从类继承的方法 com.baidu.jprotobuf.mojo.AbstractExecMojo
collectProjectArtifactsAndClasspath, hasCommandlineArgs, isSkip, parseCommandlineArgs, registerSourceRoots从类继承的方法 org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
字段详细资料
-
outputDirectory
The directory where the generated archive file will be put. -
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.MojoFailureExceptionExecute 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...
-