public abstract class AbstractOpenJpaEnhancerMojo extends AbstractOpenJpaMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
addDefaultConstructor
The JPA spec requires that all persistent classes define a no-arg constructor.
|
protected boolean |
enforcePropertyRestrictions
Whether to throw an exception when it appears that a property access entity
is not obeying the restrictions placed on property access.
|
protected boolean |
tmpClassLoader
Tell the PCEnhancer to use a temporary classloader for enhancement.
|
classes, compileClasspathElements, OPTION_CONNECTION_DRIVER_NAME, OPTION_CONNECTION_PROPERTIES, OPTION_PROPERTIES, OPTION_PROPERTIES_FILE, project, workDir
Constructor and Description |
---|
AbstractOpenJpaEnhancerMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected Options |
getOptions()
Get the options for the OpenJPA enhancer tool.
|
createOptions, extendRealmClasspath, findEntityClassFiles, getClasspathElements, getEntityClasses, getFilePaths, skipMojo
@Parameter(defaultValue="true") protected boolean addDefaultConstructor
@Parameter(defaultValue="false") protected boolean enforcePropertyRestrictions
@Parameter(defaultValue="false") protected boolean tmpClassLoader
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.execute()
protected Options getOptions() throws org.apache.maven.plugin.MojoExecutionException
getOptions
in class AbstractOpenJpaMojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.