public abstract class HibernateSchemaMojo
extends com.vecna.maven.commons.BuildClassPathMojo
| Constructor and Description |
|---|
HibernateSchemaMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.hibernate.cfg.Configuration |
createMappings()
Create mapping metadata from provided Hibernate configuration
|
protected void |
executeWithClassLoader() |
protected abstract void |
executeWithMappings(org.hibernate.cfg.Configuration configuration)
This method will be executed in the build classpath classloader context after the mapping metadata is built.
|
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.project.MavenProject getProject()
getProject in class com.vecna.maven.commons.BuildClassPathMojoprotected org.hibernate.cfg.Configuration createMappings()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - if a mapping class cannot be resolved or if the naming strategy cannot be instantiatedprotected void executeWithClassLoader()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
executeWithClassLoader in class com.vecna.maven.commons.AbstractClassLoaderSwappingMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract void executeWithMappings(org.hibernate.cfg.Configuration configuration)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
configuration - mapping metadata.org.apache.maven.plugin.MojoExecutionException - on execution exceptionorg.apache.maven.plugin.MojoFailureException - on execution failureCopyright © 2009-2012 Vecna Technologies. All Rights Reserved.