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, truncatePath
getLog, getPluginContext, setLog, setPluginContext
@Parameter(required=false) protected String descriptorSetClassifier
protected void doAttachProtoSources()
doAttachProtoSources
in class AbstractProtocMojo
protected void doAttachGeneratedFiles()
doAttachGeneratedFiles
in class AbstractProtocMojo
protected List<Artifact> getDependencyArtifacts()
getDependencyArtifacts
in class AbstractProtocMojo
protected File getDescriptorSetOutputDirectory()
AbstractProtocMojo
getDescriptorSetOutputDirectory
in class AbstractProtocMojo
protected File getProtoSourceRoot()
getProtoSourceRoot
in class AbstractProtocMojo
Copyright © 2016–2018 Maven Protocol Buffers Plugin Authors. All rights reserved.