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$
- Author:
- Alan D. Cabrera invalid input: '<'adc@apache.org>
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCompileSourceRoot(File directory) Add generated sources in compile source rootprotected File[]protected Fileprotected Fileprotected voidsetSourceDirectory(File dir) Set the source directory.Methods inherited from class AbstractIDLJMojo
execute, getProject, getProjectHelperMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
IDLJMojo
public IDLJMojo()Constructs a standard IDL translation Mojo.
-
-
Method Details
-
getSourceDirectory
- Specified by:
getSourceDirectoryin classAbstractIDLJMojo- Returns:
- the source directory that contains the IDL files
-
getIncludeDirs
- Specified by:
getIncludeDirsin classAbstractIDLJMojo- Returns:
- the
Listof the directories to use as include directories for the compilation
-
getOutputDirectory
- Specified by:
getOutputDirectoryin classAbstractIDLJMojo- Returns:
- the path of the directory that will contains the results of the compilation
-
setSourceDirectory
Set the source directory.- Parameters:
dir- the path of directory that contains the IDL files
-
addCompileSourceRoot
Add generated sources in compile source root- Specified by:
addCompileSourceRootin classAbstractIDLJMojo- Parameters:
directory- a directory containing generated java files to be compiled.
-