Package 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 $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo
AbstractRmiMojo.DependenciesFacade, AbstractRmiMojo.DependenciesFacadeImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ListprojectTestClasspathElementsCompile classpath of the maven project.private java.io.FiletestClassesDirectoryDirectory tree where the compiled Remote classes are located.private java.io.FiletestOutputDirectorySpecifies where to place rmic generated class files.-
Fields inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo
compilerId, excludes, includes, project
-
-
Constructor Summary
Constructors Constructor Description TestRmicMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetClassesDirectory()Get the directory where the project classes are located.java.io.FilegetOutputDirectory()Get the directory where rmic generated class files are written.java.util.ListgetProjectClasspathElements()Get the list of classpath elements for the project.-
Methods inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo
execute, generateUrlCompileClasspath, getCompilerId, getRemoteClasses, getRmicClasspathElements, getSources, getVersion, isIdl, isIiop, isKeep, isNoLocalStubs, isNoValueMethods, isNowarn, isPoa, isVerbose
-
-
-
-
Field Detail
-
testOutputDirectory
private java.io.File testOutputDirectory
Specifies where to place rmic generated class files. If the generated files need to be included in the project test artifact, this parameter can be set to ${project.build.testOutputDirectory}.- Since:
- 1.0
-
testClassesDirectory
private java.io.File testClassesDirectory
Directory tree where the compiled Remote classes are located.- Since:
- 1.0
-
projectTestClasspathElements
protected java.util.List projectTestClasspathElements
Compile classpath of the maven project.
-
-
Method Detail
-
getOutputDirectory
public java.io.File getOutputDirectory()
Get the directory where rmic generated class files are written.- Specified by:
getOutputDirectoryin classAbstractRmiMojo- Returns:
- the directory
-
getClassesDirectory
public java.io.File getClassesDirectory()
Get the directory where the project classes are located.- Specified by:
getClassesDirectoryin classAbstractRmiMojo- Returns:
- The project classes directory.
-
getProjectClasspathElements
public java.util.List getProjectClasspathElements()
Get the list of classpath elements for the project.- Specified by:
getProjectClasspathElementsin classAbstractRmiMojo- Returns:
- A list containing the project classpath elements.
-
-