Class 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 $
    • 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.
    • Method Detail

      • getOutputDirectory

        public java.io.File getOutputDirectory()
        Get the directory where rmic generated class files are written.
        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.