Class ProtocTestMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.hadoop.maven.plugin.protoc.ProtocTestMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="test-protoc", defaultPhase=GENERATE_TEST_SOURCES) public class ProtocTestMojo extends org.apache.maven.plugin.AbstractMojo
Mojo to generate java test classes from .proto files using protoc. See package info for examples of use in a maven pom.
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProtocTestMojo

      public ProtocTestMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException