|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.jar.AbstractJarMojo
org.apache.maven.plugin.jar.TestJarMojo
public class TestJarMojo
Build a JAR of the test classes for the current project.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
TestJarMojo()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.maven.plugin.jar.AbstractJarMojo |
---|
createArchive, getDefaultManifestFile, getJarFile, getProject |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestJarMojo()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |