Package gov.nasa.pds.model.plugin
Class AbstractGenerationPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
gov.nasa.pds.model.plugin.AbstractGenerationPlugin
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DocumentationGenerationPlugin
public abstract class AbstractGenerationPlugin
extends org.apache.maven.plugin.AbstractMojo
Base class for Maven-plugin-based artifact generators from PDS ontology data, which itself comes
from Protégé.
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute this plugin.protected abstract voidSubclasses must override this.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
Constructor Details
-
AbstractGenerationPlugin
public AbstractGenerationPlugin()
-
-
Method Details
-
generateArtifacts
protected abstract void generateArtifacts() throws org.apache.maven.plugin.MojoExecutionExceptionSubclasses must override this.- Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionExecute this plugin. The exeuction of this plugin uses the Template Method design pattern.- Throws:
org.apache.maven.plugin.MojoExecutionException- If the center does not hold.
-