@Mojo(name="build",
defaultPhase=NONE,
aggregator=true,
requiresDirectInvocation=true)
public class BuildMojo
extends AbstractCdsMojo
install-node,
install-cdsdk, cds and generate of the cds-maven-plugin on
current project. Any Java property that is provided on command line with option -D will be forwarded to
the invoked goals.mvn cds:build or mvn com.sap.cds:cds-maven-plugin:build to perform the cds build.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) |
void |
execute() |
protected void |
executeBuild() |
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) |
ensureCliExecuted, findGoalExecution, findSrvProject, getReactorBaseDirectory, isCliExecuted, logDebug, logDebug, logError, logError, logError, logInfo, logWarn, logWarn, logWarn, scanDirectory, setPropertypublic 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 org.apache.maven.shared.invoker.InvocationRequest createRequest(List<String> goals)
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.MojoExecutionExceptionCopyright © 2021. All rights reserved.