Package org.teiid.maven
Class VdbCodeGeneratorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.teiid.maven.VdbCodeGeneratorMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="vdb-codegen", defaultPhase=GENERATE_SOURCES, requiresDependencyCollection=COMPILE, requiresDependencyResolution=RUNTIME_PLUS_SYSTEM, requiresProject=true, threadSafe=true) public class VdbCodeGeneratorMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Constructor Summary
Constructors Constructor Description VdbCodeGeneratorMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()FilegetJavaSrcDirectory()FilegetOutputDirectory()FilegetResourceDirectory()FileunzipContents(File d)
-
-
-
Field Detail
-
SFM
public static final org.teiid.query.function.SystemFunctionManager SFM
-
ISPN
public static final String ISPN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOutputDirectory
public File getOutputDirectory()
-
getJavaSrcDirectory
public File getJavaSrcDirectory()
-
getResourceDirectory
public File getResourceDirectory()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
unzipContents
public File unzipContents(File d) throws IOException
- Throws:
IOException
-
-