org.jomc.mojo
Class MainSpecificationShowMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jomc.mojo.AbstractJomcMojo
org.jomc.mojo.AbstractModelShowMojo
org.jomc.mojo.MainSpecificationShowMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public final class MainSpecificationShowMojo
- extends AbstractModelShowMojo
Displays a project's main specification.
- Since:
- 1.1
- Version:
- $JOMC: MainSpecificationShowMojo.java 3838 2011-10-08 20:15:41Z schulte2005 $
- Author:
- Christian Schulte
- Is defined by the goal name:
- show-main-specification
- Requires the dependencies in this specified scope:
- test
- Mojo is thread safe:
- true
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.jomc.mojo.AbstractJomcMojo |
assertValidParameters, assertValidResources, createClassFileProcessor, createJomcTool, createModelContext, createObject, createResourceFileProcessor, createSourceFileProcessor, execute, getAbsoluteFile, getDirectory, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainSpecificationShowMojo
public MainSpecificationShowMojo()
- Creates a new
MainSpecificationShowMojo
instance.
getDisplayModel
protected Model getDisplayModel(ModelContext modelContext)
throws MojoExecutionException
- Description copied from class:
AbstractModelShowMojo
- Gets the model to display or dump.
- Specified by:
getDisplayModel
in class AbstractModelShowMojo
- Parameters:
modelContext
- The model context to use for getting the model.
- Returns:
- The model to display or dump.
- Throws:
MojoExecutionException
- if getting the model fails.
getDisplayClassLoader
protected ClassLoader getDisplayClassLoader()
throws MojoExecutionException
- Description copied from class:
AbstractModelShowMojo
- Gets the class loader to use for displaying or dumping model objects.
- Specified by:
getDisplayClassLoader
in class AbstractModelShowMojo
- Returns:
- The class loader to use for displaying or dumping model objects.
- Throws:
MojoExecutionException
- if getting the class loader fails.
getGoal
protected String getGoal()
throws MojoExecutionException
- Description copied from class:
AbstractJomcMojo
- Gets the goal of the instance.
- Specified by:
getGoal
in class AbstractJomcMojo
- Returns:
- The goal of the instance.
- Throws:
MojoExecutionException
- if getting the goal of the instance fails.
getExecutionStrategy
protected String getExecutionStrategy()
throws MojoExecutionException
- Description copied from class:
AbstractJomcMojo
- Gets the execution strategy of the instance.
- Specified by:
getExecutionStrategy
in class AbstractJomcMojo
- Returns:
- The execution strategy of the instance.
- Throws:
MojoExecutionException
- if getting the execution strategy of the instance fails.
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.