public abstract class DescriptorGeneratorTask extends AbstractGeneratorTask
DescriptorGeneratorMojoTask.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
DescriptorGeneratorTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generate() |
abstract ConfigurableFileCollection |
getClassesDirectories() |
abstract Property<String> |
getEncoding()
The file encoding of the source files.
|
abstract DirectoryProperty |
getOutputDirectory() |
abstract RegularFileProperty |
getPomFile() |
protected abstract ProjectLayout |
getProjectLayout() |
abstract Property<Boolean> |
getSkipErrorNoDescriptorsFound() |
abstract ConfigurableFileCollection |
getSourceDirectories() |
execute, getGoalPrefixcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCache@Inject protected abstract ProjectLayout getProjectLayout()
@InputFiles public abstract ConfigurableFileCollection getSourceDirectories()
@InputFiles public abstract ConfigurableFileCollection getClassesDirectories()
@InputFile public abstract RegularFileProperty getPomFile()
@OutputDirectory public abstract DirectoryProperty getOutputDirectory()
@Optional @Input public abstract Property<String> getEncoding()
DescriptorGeneratorMojo.encoding@Input public abstract Property<Boolean> getSkipErrorNoDescriptorsFound()
DescriptorGeneratorMojo.skipErrorNoDescriptorsFoundprotected void generate()
throws ExtractionException,
InvalidPluginDescriptorException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException,
IOException,
org.apache.maven.tools.plugin.generator.GeneratorException
generate in class AbstractGeneratorTaskExtractionExceptionInvalidPluginDescriptorExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionIOExceptionorg.apache.maven.tools.plugin.generator.GeneratorExceptionDescriptorGeneratorMojo.generate()