org.apache.maven.plugin.jar
public class TestJarMojo extends AbstractJarMojo
Constructor and Description |
---|
TestJarMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Generates the JAR.
|
protected java.io.File |
getClassesDirectory()
Return the test-classes directory, to serve as the root of the tests jar.
|
protected java.lang.String |
getClassifier()
Overload this to produce a jar with another classifier, for example a test-jar.
|
protected java.lang.String |
getType()
Overload this to produce a test-jar, for example.
|
createArchive, getDefaultManifestFile, getJarFile, getProject
protected java.lang.String getClassifier()
AbstractJarMojo
getClassifier
in class AbstractJarMojo
protected java.lang.String getType()
AbstractJarMojo
getType
in class AbstractJarMojo
protected java.io.File getClassesDirectory()
getClassesDirectory
in class AbstractJarMojo
public void execute() throws org.apache.maven.plugin.MojoExecutionException
AbstractJarMojo
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractJarMojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 2014. All Rights Reserved.