|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jpox.AbstractJpoxMojo
Convenience base class for Jpox Mojo extensions.
Field Summary | |
protected java.io.File |
classes
|
protected java.util.List |
pluginArtifacts
|
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Constructor Summary | |
AbstractJpoxMojo()
|
Method Summary | |
void |
execute()
|
protected abstract void |
executeJpoxTool(java.util.List pluginArtifacts,
java.net.URL log4jProperties,
java.util.List files)
Template method expected to be implemented by extensions. |
protected java.util.List |
findMappingFiles()
Locates and builds a list of all JDO mapping (.jdo) files under the build output directory. |
protected abstract java.lang.String |
getToolName()
Returns the Jpox tool name being invoked by this plugin's execution. |
protected java.util.List |
getUniqueClasspathElements()
Return the set of classpath elements, ensuring that classes
location is first, and that no entry is duplicated in the classpath. |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.File classes
protected java.util.List pluginArtifacts
Constructor Detail |
public AbstractJpoxMojo()
Method Detail |
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected java.util.List findMappingFiles() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected java.util.List getUniqueClasspathElements()
Return the set of classpath elements, ensuring that classes
location is first, and that no entry is duplicated in the classpath.
The ability of the user to specify an alternate classes
location
facilitates the need for this.
Example: Users that want to JpoxEnhance their test classes.
protected abstract void executeJpoxTool(java.util.List pluginArtifacts, java.net.URL log4jProperties, java.util.List files) throws org.codehaus.plexus.util.cli.CommandLineException, org.apache.maven.plugin.MojoExecutionException
pluginArtifacts
- log4jProperties
- files
-
org.codehaus.plexus.util.cli.CommandLineException
org.apache.maven.plugin.MojoExecutionException
protected abstract java.lang.String getToolName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |