@Mojo(name="build",
defaultPhase=NONE,
aggregator=true)
public class BuildMojo
extends AbstractCdsMojo
mvn cds:build or mvn com.sap.cds:cds-maven-plugin:build to perform the CDS build. This goal is
very useful for local development to test changes to the CDS model.buildContext, CDS_SERVICES_GROUPID, mojoExecution, PLUGIN_KEY, project, session, settings| Constructor and Description |
|---|
BuildMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.shared.invoker.InvocationRequest |
createRequest(List<String> goals,
String... optionalProperties) |
void |
execute() |
protected void |
executeBuild() |
protected void |
executeGoal(org.apache.maven.model.Plugin plugin,
String goal) |
protected Process |
executeMaven(org.apache.maven.shared.invoker.InvocationRequest request) |
protected void |
executeMojo(org.apache.maven.model.Plugin plugin,
String goal,
org.apache.maven.model.PluginExecution pluginExec) |
protected org.apache.maven.plugin.descriptor.MojoDescriptor |
getMojoDescriptor(org.apache.maven.model.Plugin plugin,
String goal) |
ensureCliExecuted, findGoalExecution, findSrvProject, getReactorBaseDirectory, isCliExecuted, logDebug, logDebug, logError, logError, logError, logInfo, logWarn, logWarn, logWarn, scanDirectory, setProperty, strongpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void executeBuild()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void executeGoal(org.apache.maven.model.Plugin plugin,
String goal)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected org.apache.maven.shared.invoker.InvocationRequest createRequest(List<String> goals, String... optionalProperties)
protected void executeMojo(org.apache.maven.model.Plugin plugin,
String goal,
org.apache.maven.model.PluginExecution pluginExec)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Process executeMaven(org.apache.maven.shared.invoker.InvocationRequest request) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected org.apache.maven.plugin.descriptor.MojoDescriptor getMojoDescriptor(org.apache.maven.model.Plugin plugin,
String goal)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2023. All rights reserved.