public abstract class AbstractSourcesManageMojo extends AbstractJomcMojo
Constructor and Description |
---|
AbstractSourcesManageMojo()
Creates a new
AbstractSourcesManageMojo instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
executeTool()
Executes this tool.
|
protected abstract ClassLoader |
getSourcesClassLoader()
Gets the class loader to use for managing source code files.
|
protected abstract File |
getSourcesDirectory()
Gets the directory holding the source code files to manage.
|
protected abstract String |
getSourcesModuleName()
Gets the name of the module to manage source code files of.
|
assertValidParameters, assertValidResources, createClassFileProcessor, createJomcTool, createModelContext, createObject, createResourceFileProcessor, createSourceFileProcessor, execute, getAbsoluteFile, getDirectory, getExecutionStrategy, getGoal, getMainClassLoader, getMainClasspathElements, getMavenProject, getMavenSession, getModel, getModel, getModuleName, getOutputDirectory, getProperties, getReportOutputDirectory, getResource, getSessionDirectory, getSourceDirectory, getTestClassLoader, getTestClasspathElements, getTestModuleName, getTestOutputDirectory, getTestSourceDirectory, getTransformer, isClassProcessingEnabled, isExecutionPermitted, isLoggable, isModelObjectClasspathResolutionEnabled, isModelProcessingEnabled, isResourceProcessingEnabled, isSourceProcessingEnabled, isVerbose, log, log, logMissingModule, logProcessingModel, logProcessingModule, logSeparator, logSeparator, logToolSuccess, setClassProcessingEnabled, setModelObjectClasspathResolutionEnabled, setModelProcessingEnabled, setResourceProcessingEnabled, setSourceProcessingEnabled, setupJomcTool, setupModelContext, setVerbose
getLog, getPluginContext, setLog, setPluginContext
public AbstractSourcesManageMojo()
AbstractSourcesManageMojo
instance.protected final void executeTool() throws Exception
AbstractJomcMojo
executeTool
in class AbstractJomcMojo
Exception
- if execution of this tool fails.protected abstract String getSourcesModuleName() throws MojoExecutionException
MojoExecutionException
- if getting the name fails.protected abstract ClassLoader getSourcesClassLoader() throws MojoExecutionException
MojoExecutionException
- if getting the class loader fails.protected abstract File getSourcesDirectory() throws MojoExecutionException
MojoExecutionException
- if getting the directory fails.Copyright © 2005-2013 The JOMC Project. All Rights Reserved.