org.jomc.mojo
Class TestModuleAttachMojo

Package class diagram package TestModuleAttachMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jomc.mojo.AbstractAttachMojo
          extended by org.jomc.mojo.TestModuleAttachMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public final class TestModuleAttachMojo
extends AbstractAttachMojo

Attaches a project's test module artifact.

Version:
$JOMC: TestModuleAttachMojo.java 3838 2011-10-08 20:15:41Z schulte2005 $
Author:
Christian Schulte
Is defined by the goal name:
attach-test-module
Is bound to the specified phase of the standard build lifecycle:
process-test-resources

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestModuleAttachMojo()
          Creates a new TestModuleAttachMojo instance.
 
Method Summary
protected  String getArtifactClassifier()
          Gets the classifier of the artifact to attach.
protected  File getArtifactFile()
          Gets the file of the artifact to attach.
protected  String getArtifactType()
          Gets the type of the artifact to attach.
protected  String getExecutionStrategy()
          Gets the execution strategy of the instance.
 
Methods inherited from class org.jomc.mojo.AbstractAttachMojo
execute, getMavenProject, getMavenProjectHelper, getMavenSession, getSessionDirectory, isVerbose, setVerbose
 
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

TestModuleAttachMojo

public TestModuleAttachMojo()
Creates a new TestModuleAttachMojo instance.

Method Detail

getArtifactFile

protected File getArtifactFile()
Description copied from class: AbstractAttachMojo
Gets the file of the artifact to attach.

Specified by:
getArtifactFile in class AbstractAttachMojo
Returns:
The file of the artifact to attach.

getArtifactClassifier

protected String getArtifactClassifier()
Description copied from class: AbstractAttachMojo
Gets the classifier of the artifact to attach.

Specified by:
getArtifactClassifier in class AbstractAttachMojo
Returns:
The classifier of the artifact to attach.

getArtifactType

protected String getArtifactType()
Description copied from class: AbstractAttachMojo
Gets the type of the artifact to attach.

Specified by:
getArtifactType in class AbstractAttachMojo
Returns:
The type of the artifact to attach.

getExecutionStrategy

protected String getExecutionStrategy()
Description copied from class: AbstractAttachMojo
Gets the execution strategy of the instance.

Specified by:
getExecutionStrategy in class AbstractAttachMojo
Returns:
The execution strategy of the instance.


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.