org.codehaus.mojo.rmic
Class TestRmicMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.rmic.AbstractRmiMojo
org.codehaus.mojo.rmic.TestRmicMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, RmicConfig
public class TestRmicMojo
- extends AbstractRmiMojo
Compiles rmi stubs and skeleton classes from a remote implementation class.
By default runs against files in the test-classes directory.
- Version:
- $Id: TestRmicMojo.java 7948 2008-10-20 20:54:37Z pgier $
- Author:
- pgier
- Requires the dependencies in this specified scope:
- test
- Is defined by the goal name:
- test-rmic
- Is bound to the specified phase of the standard build lifecycle:
- process-test-classes
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo |
execute, generateUrlCompileClasspath, getCompilerId, getRmicClasspathElements, getVersion, isIdl, isIiop, isKeep, isNoLocalStubs, isNoValueMethods, isNowarn, isVerbose, scanForRemoteClasses |
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 |
projectTestClasspathElements
protected List projectTestClasspathElements
- Compile classpath of the maven project.
- Is readonly.
- Is defined by:
- expression:
- ${project.testClasspathElements}
TestRmicMojo
public TestRmicMojo()
getOutputDirectory
public File getOutputDirectory()
- Get the directory where rmic generated class files are written.
- Specified by:
getOutputDirectory
in interface RmicConfig
- Specified by:
getOutputDirectory
in class AbstractRmiMojo
- Returns:
- the directory
getClassesDirectory
public File getClassesDirectory()
- Get the directory where the project classes are located.
- Specified by:
getClassesDirectory
in class AbstractRmiMojo
- Returns:
- The project classes directory.
getProjectClasspathElements
public List getProjectClasspathElements()
- Get the list of classpath elements for the project.
- Specified by:
getProjectClasspathElements
in class AbstractRmiMojo
- Returns:
- A list containing the project classpath elements.
Copyright © 2006-2011 Codehaus. All Rights Reserved.