@Mojo(name="codegen",
defaultPhase=GENERATE_SOURCES,
requiresProject=true,
threadSafe=false,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public class CodegenMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
CodegenMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected String |
getYamlFileContentAsJson() |
protected String |
getYamlFilename() |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected String getYamlFileContentAsJson() throws IOException
IOExceptionprotected String getYamlFilename() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2015 Zalando SE. All rights reserved.