org.codehaus.mojo.rmic
Class RmicMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.rmic.AbstractRmiMojo
          extended by 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 7948 2008-10-20 20:54:37Z pgier $
Author:
Trygve Laugstøl
Is defined by the goal name:
rmic
Is bound to the specified phase of the standard build lifecycle:
process-classes
Requires the dependencies in this specified scope:
compile

Field Summary
protected  java.util.List projectCompileClasspathElements
          Compile classpath of the maven project.
 
Fields inherited from class org.codehaus.mojo.rmic.AbstractRmiMojo
compilerId, excludes, includes, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RmicMojo()
           
 
Method Summary
 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, 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
 

Field Detail

projectCompileClasspathElements

protected java.util.List projectCompileClasspathElements
Compile classpath of the maven project.

Is defined by:
expression:
${project.compileClasspathElements}
Is readonly.
Constructor Detail

RmicMojo

public RmicMojo()
Method Detail

getOutputDirectory

public java.io.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 java.io.File getClassesDirectory()
Get the directory where the project classes are located.

Specified by:
getClassesDirectory in class AbstractRmiMojo
Returns:
The project classes directory.

getProjectClasspathElements

public java.util.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.