@Mojo(name="test-enhance", defaultPhase=PROCESS_TEST_CLASSES, requiresDependencyResolution=TEST) public class OpenJpaTestEnhancerMojo extends AbstractOpenJpaEnhancerMojo
Modifier and Type | Field and Description |
---|---|
protected List<String> |
testClasspathElements
List of all class path elements that will be searched for the
persistence-enabled classes and resources expected by
PCEnhancer. |
addDefaultConstructor, enforcePropertyRestrictions, tmpClassLoader
classes, compileClasspathElements, OPTION_CONNECTION_DRIVER_NAME, OPTION_CONNECTION_PROPERTIES, OPTION_PROPERTIES, OPTION_PROPERTIES_FILE, project, workDir
Constructor and Description |
---|
OpenJpaTestEnhancerMojo() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getClasspathElements()
This function overloads
AbstractOpenJpaMojo#getClasspathElements() to return the test
classpath elements. |
protected File |
getEntityClasses()
The File where the class files of the entities to enhance reside
|
protected boolean |
skipMojo()
Determine if the mojo execution should get skipped.
|
execute, getOptions
createOptions, extendRealmClasspath, findEntityClassFiles, getFilePaths
protected List<String> getClasspathElements()
AbstractOpenJpaMojo#getClasspathElements()
to return the test
classpath elements.getClasspathElements
in class AbstractOpenJpaMojo
protected File getEntityClasses()
getEntityClasses
in class AbstractOpenJpaMojo
protected boolean skipMojo()
AbstractOpenJpaMojo
Determine if the mojo execution should get skipped.
This is the case if:AbstractOpenJpaMojo.skip
is true
AbstractOpenJpaMojo.forceMojoExecution
is false
skipMojo
in class AbstractOpenJpaMojo
true
if the mojo execution should be skipped.Copyright © 2006–2020 Apache Software Foundation. All rights reserved.