Package org.codehaus.mojo.rmic
Class RmicMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.rmic.AbstractRmiMojo
-
- org.codehaus.mojo.rmic.RmicMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
,RmicConfig
public class RmicMojo extends AbstractRmiMojo
Compiles rmi stubs and skeleton classes from a remote implementation class.- Version:
- $Id: RmicMojo.java 17137 2012-07-16 15:08:49Z russgold $
-
-
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 private java.io.File
classesDirectory
Directory tree where the compiled Remote classes are located.private java.io.File
outputDirectory
Specifies where to place rmic generated class files.protected java.util.List
projectCompileClasspathElements
Compile classpath of the maven project.-
Fields inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo
compilerId, excludes, includes, project
-
-
Constructor Summary
Constructors Constructor Description RmicMojo()
RmicMojo(AbstractRmiMojo.DependenciesFacade dependencies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getClassesDirectory()
Get the directory where the project classes are located.java.io.File
getOutputDirectory()
Get the directory where rmic generated class files are written.java.util.List
getProjectClasspathElements()
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
-
outputDirectory
private java.io.File outputDirectory
Specifies where to place rmic generated class files. If the generated files need to be included in the main project artifact, this parameter can be set to ${project.build.outputDirectory}.
-
classesDirectory
private java.io.File classesDirectory
Directory tree where the compiled Remote classes are located.
-
projectCompileClasspathElements
protected java.util.List projectCompileClasspathElements
Compile classpath of the maven project.
-
-
Constructor Detail
-
RmicMojo
public RmicMojo()
-
RmicMojo
public RmicMojo(AbstractRmiMojo.DependenciesFacade dependencies)
-
-
Method Detail
-
getOutputDirectory
public java.io.File getOutputDirectory()
Get the directory where rmic generated class files are written.- Specified by:
getOutputDirectory
in classAbstractRmiMojo
- Returns:
- the directory
-
getClassesDirectory
public java.io.File getClassesDirectory()
Get the directory where the project classes are located.- Specified by:
getClassesDirectory
in classAbstractRmiMojo
- Returns:
- The project classes directory.
-
getProjectClasspathElements
public java.util.List getProjectClasspathElements()
Get the list of classpath elements for the project.- Specified by:
getProjectClasspathElements
in classAbstractRmiMojo
- Returns:
- A list containing the project classpath elements.
-
-