Fork me on GitHub

idlj:generate

Full name:

org.codehaus.mojo:idlj-maven-plugin:1.2.2:generate

Description:

Process CORBA IDL files in IDLJ.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: generate-sources.

Optional Parameters

Name Type Since Description
compiler String - The compiler to use. Current options are the JDK idlj compiler, Glassfish and JacORB. Should be either "idlj", "glassfish", or "jacorb". If not specified, will select idlj or glassfish, based on Java version
debug boolean - Activate more detailed debug messages.
failOnError boolean - Should the plugin fail the build if there's an error while generating sources from IDLs.
Default value is: true.
includeDirs File[] - Additional include directories containing additional *.idl files required for compilation.
outputDirectory File - The directory to output the generated sources to.
Default value is: ${project.build.directory}/generated-sources/idl.
sourceDirectory File - The source directory containing *.idl files.
Default value is: ${basedir}/src/main/idl.
sources List - A List of Source configurations to compile.
staleMillis int - The granularity in milliseconds of the last modification date for testing whether a source needs recompilation.
Default value is: 0.
User property is: lastModGranularityMs.
timestampDirectory File - The directory to store the processed grammars. Used so that grammars are not constantly regenerated.
Default value is: ${project.build.directory}/idlj-timestamp.

Parameter Details

compiler:

The compiler to use. Current options are the JDK idlj compiler, Glassfish and JacORB. Should be either "idlj", "glassfish", or "jacorb". If not specified, will select idlj or glassfish, based on Java version
  • Type: java.lang.String
  • Required: No

debug:

Activate more detailed debug messages.
  • Type: boolean
  • Required: No

failOnError:

Should the plugin fail the build if there's an error while generating sources from IDLs.
  • Type: boolean
  • Required: No
  • Default: true

includeDirs:

Additional include directories containing additional *.idl files required for compilation.
  • Type: java.io.File[]
  • Required: No

outputDirectory:

The directory to output the generated sources to.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/generated-sources/idl

sourceDirectory:

The source directory containing *.idl files.
  • Type: java.io.File
  • Required: No
  • Default: ${basedir}/src/main/idl

sources:

A List of Source configurations to compile.
  • Type: java.util.List
  • Required: No

staleMillis:

The granularity in milliseconds of the last modification date for testing whether a source needs recompilation.
  • Type: int
  • Required: No
  • User Property: lastModGranularityMs
  • Default: 0

timestampDirectory:

The directory to store the processed grammars. Used so that grammars are not constantly regenerated.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/idlj-timestamp