org.codehaus.mojo.hibernate3
Class AbstractHibernateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.hibernate3.AbstractHibernateMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, HibernateMojo
- Direct Known Subclasses:
- AbstractHibernateToolMojo, InstrumentExporterMojo
public abstract class AbstractHibernateMojo
- extends org.apache.maven.plugin.AbstractMojo
- implements HibernateMojo
Abstract class for any hibernate goal.
|
Field Summary |
protected Object |
classRealm
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
The local Maven repository |
protected org.apache.maven.execution.MavenSession |
session
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
session
protected org.apache.maven.execution.MavenSession session
classRealm
protected Object classRealm
localRepository
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
- The local Maven repository
AbstractHibernateMojo
public AbstractHibernateMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
getAntClassLoader
protected ClassLoader getAntClassLoader()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2005-2012 Codehaus. All Rights Reserved.