public class QueryTranslatorValidateMojo
extends org.apache.maven.plugin.AbstractMojo
A database connection is not required to run this plugin, a Derby database connection is automatically initalized (since Derby is supported by OpenJPA 1.0.0 to OpenJPA 2.2).
This plugin will make the build fail if not all JPQL queries are valid.
Constructor and Description |
---|
QueryTranslatorValidateMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
List<String> |
getPackageNames() |
boolean |
isSkipValidation() |
void |
setSkipValidation(boolean skipValidation) |
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public final boolean isSkipValidation()
public final void setSkipValidation(boolean skipValidation)
Copyright © 2012-2013. All Rights Reserved.