public abstract class AbstractProtocCompileMojo extends AbstractProtocMojo
protoc compiler with the main sources.| Modifier and Type | Field and Description |
|---|---|
protected String |
descriptorSetClassifier
If generated descriptor set is to be attached to the build, specifies an optional classifier.
|
attachDescriptorSet, attachProtoSources, buildContext, descriptorSetFileName, includeDependenciesInDescriptorSet, includeSourceInfoInDescriptorSet, project, projectHelper, session, toolchainManager, useArgumentFile, writeDescriptorSet| Constructor and Description |
|---|
AbstractProtocCompileMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAttachGeneratedFiles() |
protected void |
doAttachProtoSources() |
protected List<Artifact> |
getDependencyArtifacts() |
protected File |
getDescriptorSetOutputDirectory()
Returns output directory for descriptor set file.
|
protected File |
getProtoSourceRoot() |
addProtocBuilderParameters, checkFilesUpToDate, checkParameters, createDependencyArtifact, createDependencyArtifact, createProtocPlugins, detectJavaHome, doAttachFiles, execute, findGeneratedFilesInDirectory, findProtoFilesInDirectories, findProtoFilesInDirectory, getDependencyArtifactFiles, getExcludes, getIncludes, getOutputDirectory, hasDelta, lastModified, makeProtoPathFromJars, resolveBinaryArtifact, skipMojo, toHexString, truncatePathgetLog, getPluginContext, setLog, setPluginContext@Parameter(required=false) protected String descriptorSetClassifier
protected void doAttachProtoSources()
doAttachProtoSources in class AbstractProtocMojoprotected void doAttachGeneratedFiles()
doAttachGeneratedFiles in class AbstractProtocMojoprotected List<Artifact> getDependencyArtifacts()
getDependencyArtifacts in class AbstractProtocMojoprotected File getDescriptorSetOutputDirectory()
AbstractProtocMojogetDescriptorSetOutputDirectory in class AbstractProtocMojoprotected File getProtoSourceRoot()
getProtoSourceRoot in class AbstractProtocMojoCopyright © 2016–2018 Maven Protocol Buffers Plugin Authors. All rights reserved.