Class AbstractProtocTestCompileMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.xolstice.maven.plugin.protobuf.AbstractProtocMojo
org.xolstice.maven.plugin.protobuf.AbstractProtocTestCompileMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ProtocTestCompileCppMojo, ProtocTestCompileCsharpMojo, ProtocTestCompileCustomMojo, ProtocTestCompileJavaNanoMojo, ProtocTestCompileJavaScriptMojo, ProtocTestCompileMojo, ProtocTestCompilePythonMojo

public abstract class AbstractProtocTestCompileMojo extends AbstractProtocMojo
An abstract base mojo configuration for using protoc compiler with the test sources.
Since:
0.3.3
  • Field Details

    • protoTestSourceRoot

      @Parameter(required=true, defaultValue="${basedir}/src/test/proto") private File protoTestSourceRoot
      The source directories containing the test .proto definitions to be compiled.
    • descriptorSetOutputDirectory

      @Parameter(required=true, defaultValue="${project.build.directory}/generated-test-resources/protobuf/descriptor-sets") private File descriptorSetOutputDirectory
      This is the directory into which the (optional) descriptor set file will be created.
      Since:
      0.3.0
    • descriptorSetClassifier

      @Parameter(required=false, defaultValue="test") protected String descriptorSetClassifier
      If generated descriptor set is to be attached to the build, specifies an optional classifier.
      Since:
      0.4.1
  • Constructor Details

    • AbstractProtocTestCompileMojo

      public AbstractProtocTestCompileMojo()
  • Method Details