Class TestIDLJMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.idlj.AbstractIDLJMojo
org.codehaus.mojo.idlj.TestIDLJMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="generate-test",
defaultPhase=GENERATE_TEST_SOURCES)
public class TestIDLJMojo
extends AbstractIDLJMojo
Process CORBA IDL test files in IDLJ.
- Version:
- $Id$
- Author:
- maguro 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) Adds the generated source path to the test source directories list so that maven can find the new sources to compile tests.protected File[]protected Fileprotected FileMethods inherited from class AbstractIDLJMojo
execute, getProject, getProjectHelperMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
TestIDLJMojo
public TestIDLJMojo()
-
-
Method Details
-
getSourceDirectory
- Specified by:
getSourceDirectoryin classAbstractIDLJMojo- Returns:
- the directory that contains the source
-
getOutputDirectory
- Specified by:
getOutputDirectoryin classAbstractIDLJMojo- Returns:
- the directory that will contain the generated code
-
getIncludeDirs
- Specified by:
getIncludeDirsin classAbstractIDLJMojo- Returns:
- a
Listof directory to use as include
-
addCompileSourceRoot
Adds the generated source path to the test source directories list so that maven can find the new sources to compile tests.- Specified by:
addCompileSourceRootin classAbstractIDLJMojo- Parameters:
directory- the directory from which compilation should occur
-