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

      • TestRmicMojo

        public TestRmicMojo()
    • 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.