Class TestClojureCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.theoryinpractise.clojure.AbstractClojureCompilerMojo
com.theoryinpractise.clojure.TestClojureCompilerMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="testCompile",
defaultPhase=TEST_COMPILE,
requiresDependencyResolution=TEST)
public class TestClojureCompilerMojo
extends AbstractClojureCompilerMojo
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractClojureCompilerMojo
AbstractClojureCompilerMojo.SourceDirectory -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanFlag to allow test compiliation to be skipped.protected BooleanShould the test-compile phase create a temporary output directory for .class files?Fields inherited from class AbstractClojureCompilerMojo
baseDirectory, baseTestSourceDirectory, charset, classpathElements, compileDeclaredNamespaceOnly, copiedNamespaces, copyDeclaredNamespaceOnly, directLinking, generatedSourceDirectory, namespaces, outputDirectory, project, sourceDirectories, testClasspathElements, testDeclaredNamespaceOnly, testNamespaces, testOutputDirectory, testSourceDirectories, workingDirectoryFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractClojureCompilerMojo
callClojureWith, callClojureWith, callClojureWith, callClojureWith, copyNamespaceSourceFilesToOutput, createTemporaryDirectory, discoverNamespaces, discoverNamespacesToCopy, escapeFilePath, escapeFilePath, getDefaultJavaHomeExecutable, getRunWithClasspathElements, getSourceDirectories, getWorkingDirectory, isClasspathResource, isExistingTestScriptFileMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
skip
@Parameter(required=true, property="maven.test.skip", defaultValue="false") private boolean skipFlag to allow test compiliation to be skipped. -
temporaryTestOutputDirectory
Should the test-compile phase create a temporary output directory for .class files?
-
-
Constructor Details
-
TestClojureCompilerMojo
public TestClojureCompilerMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-