Package org.metaeffekt.core.maven.kernel
Class AbstractProjectAwareMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.metaeffekt.core.maven.kernel.AbstractProjectAwareMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
public abstract class AbstractProjectAwareMojo extends org.apache.maven.plugin.AbstractMojo
Abstract mojo adding project awareness and some convenience methods. Unfortunately maven forces us into a strange situation. The plugin compile mechanism requires the javadoc annotations. Therefore the project member variable including all javadoc metadata need to be provided by the implementor in the plugin project. Otherwise maven will not be able to detect the configuration ultimately not injecting any such member.- Author:
- Karsten Klein
-
-
Constructor Summary
Constructors Constructor Description AbstractProjectAwareMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.apache.maven.project.MavenProject
getProject()
protected boolean
isJarPackagingProject()
protected boolean
isPomPackagingProject()
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-