Class IDLJMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.idlj.AbstractIDLJMojo
org.codehaus.mojo.idlj.IDLJMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate", defaultPhase=GENERATE_SOURCES) public class IDLJMojo extends AbstractIDLJMojo
Process CORBA IDL files in IDLJ.
Version:
$Id$
  • Field Details

    • sourceDirectory

      @Parameter(defaultValue="${basedir}/src/main/idl") private File sourceDirectory
      The source directory containing *.idl files.
    • includeDirs

      @Parameter private File[] includeDirs
      Additional include directories containing additional *.idl files required for compilation.
    • outputDirectory

      @Parameter(defaultValue="${project.build.directory}/generated-sources/idl") private File outputDirectory
      The directory to output the generated sources to.
  • Constructor Details

  • Method Details

    • getSourceDirectory

      protected File getSourceDirectory()
      Specified by:
      getSourceDirectory in class AbstractIDLJMojo
      Returns:
      the source directory that contains the IDL files
    • getIncludeDirs

      protected File[] getIncludeDirs()
      Specified by:
      getIncludeDirs in class AbstractIDLJMojo
      Returns:
      the List of the directories to use as include directories for the compilation
    • getOutputDirectory

      protected File getOutputDirectory()
      Specified by:
      getOutputDirectory in class AbstractIDLJMojo
      Returns:
      the path of the directory that will contains the results of the compilation
    • setSourceDirectory

      protected void setSourceDirectory(File dir)
      Set the source directory.
      Parameters:
      dir - the path of directory that contains the IDL files
    • addCompileSourceRoot

      protected void addCompileSourceRoot(File directory)
      Add generated sources in compile source root
      Specified by:
      addCompileSourceRoot in class AbstractIDLJMojo
      Parameters:
      directory - a directory containing generated java files to be compiled.