com.atlassian.maven.plugins.unpacktests
Class UnpackTestsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UnpackTestsMojo()
           
 
Method Summary
 void execute()
           
protected  void setMavenProject(org.apache.maven.project.MavenProject project)
           
 void setTestClassesDirectory(File dir)
           
 void unpackJar(File jarFile)
           
 
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

UnpackTestsMojo

public UnpackTestsMojo()
Method Detail

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.