public class ProtoCompilerMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
baseDir |
protected java.io.File |
modulesFile
The properties file that contains the modules
|
protected java.io.File |
outputBaseDir
If not specified, the directory where the file is located will be used as its base dir.
|
protected org.apache.maven.project.MavenProject |
project
The current Maven project.
|
protected ProtoModule[] |
protoModules
The modules to generate code from
|
protected java.io.File |
sourceBaseDir
If not specified, the directory where the file is located will be used as its base dir.
|
| Constructor and Description |
|---|
ProtoCompilerMojo() |
protected org.apache.maven.project.MavenProject project
protected java.io.File modulesFile
protected java.io.File sourceBaseDir
is provided.protected java.io.File outputBaseDir
is provided.protected ProtoModule[] protoModules
protected java.io.File baseDir
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected boolean skipMojo()
Determine if the mojo execution should get skipped.
This is the case if:skip is trueforceMojoExecution is
falsetrue if the mojo execution should be skipped.Copyright © 2009-2014. All Rights Reserved.