org.apache.cactus.maven2.mojos
Class CactifyEarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.cactus.maven2.mojos.CactifyEarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CactifyEarMojo
extends org.apache.maven.plugin.AbstractMojo

A maven2 mojo that injects elements necessary to run Cactus tests into an existing EAR file.

Version:
$Id: CactifyEarMojo.java 394252 2008-04-29 04:20:17Z ptahchiev $

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CactifyEarMojo()
           
 
Method Summary
 void execute()
          The "main" method of the mojo.
 org.apache.maven.archiver.MavenArchiveConfiguration getArchive()
          Getter method for the MavenArchiveConfiguration.
 java.io.File getDestFile()
          Getter method for the destFile.
 org.apache.maven.project.MavenProject getProject()
          Getter method for the MavenProject.
 java.io.File getSrcFile()
          Getter method for the srcFile.
 
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

CactifyEarMojo

public CactifyEarMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
The "main" method of the mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException - in case an error occurs.
org.apache.maven.plugin.MojoFailureException - in case a failure occurs.

getProject

public org.apache.maven.project.MavenProject getProject()
Getter method for the MavenProject.

Returns:
the MavenProject

getArchive

public org.apache.maven.archiver.MavenArchiveConfiguration getArchive()
Getter method for the MavenArchiveConfiguration.

Returns:
the MavenArchiveConfiguration

getDestFile

public java.io.File getDestFile()
Getter method for the destFile.

Returns:

getSrcFile

public java.io.File getSrcFile()
Getter method for the srcFile.

Returns:


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.