com.atlassian.maven.plugins.unpacktests
Class UnpackTestsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class UnpackTestsMojo
- extends org.apache.maven.plugin.AbstractMojo
Goal which produces a test jar with it's directly referenced test dependencies, so that test may be rerun.
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
UnpackTestsMojo
public UnpackTestsMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
unpackJar
public void unpackJar(File jarFile)
throws Exception
- Throws:
Exception
setTestClassesDirectory
public void setTestClassesDirectory(File dir)
setMavenProject
protected void setMavenProject(org.apache.maven.project.MavenProject project)
Copyright © 2013. All Rights Reserved.