@Mojo(name="generateSources",
defaultPhase=GENERATE_SOURCES,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class GenerateSourcesConnectorMojo
extends BaseRestSdkMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
REST_SDK_GENERATED_SCHEMAS |
apiSpec, outputDir, skipValidation| Constructor and Description |
|---|
GenerateSourcesConnectorMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected boolean |
hasExecutedBefore()
This method avoids running generation more than once.
|
public static final String REST_SDK_GENERATED_SCHEMAS
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean hasExecutedBefore()
Copyright © 2023. All rights reserved.