@Mojo(name="validate-test-classpath", defaultPhase=VERIFY, requiresDependencyResolution=TEST, threadSafe=true) public final class TestClasspathValidateMojo extends AbstractClasspathValidateMojo
Constructor and Description |
---|
TestClasspathValidateMojo()
Creates a new
TestClasspathValidateMojo instance. |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
getClasspathClassLoader()
Gets the class loader to validate class path model objects of.
|
protected String |
getExecutionStrategy()
Gets the execution strategy of the instance.
|
protected String |
getGoal()
Gets the goal of the instance.
|
executeTool
assertValidParameters, assertValidResources, copyDirectory, copyFile, createClassFileProcessor, createJomcTool, createModelContext, createObject, createObject, createResourceFileProcessor, createSourceFileProcessor, execute, getAbsoluteFile, getDirectory, getExecutorService, getMainClassLoader, getMainClasspathElements, getMavenProject, getMavenSession, getModel, getModel, getModuleName, getOutputDirectory, getProperties, getProperties, getReportOutputDirectory, getResource, getResource, getSessionDirectory, getSourceDirectory, getTestClassLoader, getTestClasspathElements, getTestModuleName, getTestOutputDirectory, getTestSourceDirectory, getTransformer, getTransformer, isClassProcessingEnabled, isExecutionPermitted, isLoggable, isModelObjectClasspathResolutionEnabled, isModelProcessingEnabled, isResourceProcessingEnabled, isSourceProcessingEnabled, isVerbose, log, log, logMissingModule, logProcessingModel, logProcessingModule, logSeparator, logSeparator, logToolSuccess, setClassProcessingEnabled, setModelObjectClasspathResolutionEnabled, setModelProcessingEnabled, setResourceProcessingEnabled, setSourceProcessingEnabled, setupJomcTool, setupModelContext, setVerbose
getLog, getPluginContext, setLog, setPluginContext
public TestClasspathValidateMojo()
TestClasspathValidateMojo
instance.protected ClassLoader getClasspathClassLoader() throws MojoExecutionException
AbstractClasspathValidateMojo
getClasspathClassLoader
in class AbstractClasspathValidateMojo
MojoExecutionException
- if getting the class loader fails.protected String getGoal() throws MojoExecutionException
AbstractJomcMojo
getGoal
in class AbstractJomcMojo
MojoExecutionException
- if getting the goal of the instance fails.protected String getExecutionStrategy() throws MojoExecutionException
AbstractJomcMojo
getExecutionStrategy
in class AbstractJomcMojo
MojoExecutionException
- if getting the execution strategy of the instance fails.Copyright © 2005–2016 The JOMC Project. All rights reserved.