Full name:
com.addc.plugins:maven-idl-plugin:1.0.0:generate
Description:
Compile IDL files with the Jacorb idl compiler. By default this expects to find the idl files in src/main/idl and will generate the java files in src/main/generated .
Generally, the only elements you will need to set to generate the java files for your build.
Attributes:
compile.generate-sources.| Name | Type | Since | Description |
|---|---|---|---|
| project | MavenProject |
- |
The Maven Project Object |
| Name | Type | Since | Description |
|---|---|---|---|
| amiCallbacks | boolean |
- |
Ggenerate AMI reply handlers and sendc methods. Default value is: false. |
| amiPolling | boolean |
- |
Generate AMI poller and sendp methods Default value is: false. |
| debugLevel | int |
- |
The compiler debug level |
| defines | String[] |
- |
Defines for compiling the idl files |
| diiStubs | boolean |
- |
Generate DII-based client stubs Default value is: false. |
| excludes | String[] |
- |
A list of exclusion filters for the compiler. |
| forceOverwrite | boolean |
- |
Generate code even if IDL has not changed. Default value is: true. |
| generateEnhanced | boolean |
- |
Generate stubs with toString/equals (only StructType) Default value is: true. |
| generateIncluded | boolean |
- |
Generate all included idl files Default value is: false. |
| generateIr | boolean |
- |
Generate extra information required by the JacORB Interface
Repository (One extra file for each IDL module, and another
additional file per IDL interface.) Default value is: false. |
| i2jpackages | String[] |
- |
List of i2jpackage statements, these will have the format<i2jpackage>x:a.b.c</i2jpackage> which
replaces IDL package name x by a.b.c in generated Java code (e.g.
CORBA:org.omg.CORBA). |
| includePaths | File[] |
- |
A set of paths to include when searching for included idl files |
| includes | String[] |
- |
A list of inclusion filters for the compiler. |
| noFinal | boolean |
- |
Generated Java code will contain no final class definitions, which
is the default to allow for compiler optimizations. Default value is: false. |
| noSkel | boolean |
- |
Disable generation of POA skeletons (e.g., for client-side use) Default value is: false. |
| noStub | boolean |
- |
Disable generation of client stubs (for server-side use) Default value is: false. |
| omgPrefix | boolean |
- |
Prefix generated code with org.omg Default value is: false. |
| outputDirectory | File |
- |
Directory containing the generated java files. This will be added to the compile source path automatically |
| parseOnly | boolean |
- |
Only perform syntax check without generating code. Default value is: false. |
| sourceDirectory | File |
- |
Directory where the idl files are found |
| uncheckedNarrow | boolean |
- |
Use unchecked narrow in generated code for IOR parameters in
operations (default is off). Generated helper classes contain
marshalling code which, by default, will try to narrow any object
references to statically known interface type. This may involve
remote invocations to test a remote object's type, thus incurring
runtime overhead to achieve static type safety. The -unchecked
narrow option generates code that will not by statically type safe,
but avoids remote tests of an object's type. If the type is not as
expected, clients will experience CORBA.BAD OPERATION exceptions at
invocation time. Default value is: false. |
| undefines | String[] |
- |
Undefines for compiling the idl files |
Ggenerate AMI reply handlers and sendc methods.
booleanNofalseGenerate AMI poller and sendp methods
booleanNofalseThe compiler debug level
intNo1defines :
Defines for compiling the idl files
java.lang.String[]NodiiStubs :
Generate DII-based client stubs
booleanNofalseexcludes :
A list of exclusion filters for the compiler.
java.lang.String[]NoGenerate code even if IDL has not changed.
booleanNotrueGenerate stubs with toString/equals (only StructType)
booleanNotrueGenerate all included idl files
booleanNofalseGenerate extra information required by the JacORB Interface Repository (One extra file for each IDL module, and another additional file per IDL interface.)
booleanNofalseList of i2jpackage statements, these will have the format
<i2jpackage>x:a.b.c</i2jpackage> which
replaces IDL package name x by a.b.c in generated Java code (e.g.
CORBA:org.omg.CORBA).
java.lang.String[]NoA set of paths to include when searching for included idl files
java.io.File[]Noincludes :
A list of inclusion filters for the compiler.
java.lang.String[]NonoFinal :
Generated Java code will contain no final class definitions, which is the default to allow for compiler optimizations.
booleanNofalsenoSkel :
Disable generation of POA skeletons (e.g., for client-side use)
booleanNofalsenoStub :
Disable generation of client stubs (for server-side use)
booleanNofalsePrefix generated code with org.omg
booleanNofalseDirectory containing the generated java files. This will be added to the compile source path automatically
java.io.FileNo${basedir}/src/main/generatedOnly perform syntax check without generating code.
booleanNofalseproject :
The Maven Project Object
org.apache.maven.project.MavenProjectYes${project}Directory where the idl files are found
java.io.FileNo${basedir}/src/main/idlUse unchecked narrow in generated code for IOR parameters in operations (default is off). Generated helper classes contain marshalling code which, by default, will try to narrow any object references to statically known interface type. This may involve remote invocations to test a remote object's type, thus incurring runtime overhead to achieve static type safety. The -unchecked narrow option generates code that will not by statically type safe, but avoids remote tests of an object's type. If the type is not as expected, clients will experience CORBA.BAD OPERATION exceptions at invocation time.
booleanNofalseUndefines for compiling the idl files
java.lang.String[]No