@Mojo(name="auto-build",
defaultPhase=NONE,
aggregator=true)
public class AutoBuildMojo
extends WatchMojo
mvn cds:build) and then watches for changes in the CDS model. If
changes are detected, the CDS model is re-built automatically.
In contrast to mvn cds:watch this goal does not start the CAP Java application. buildContext, CDS_SERVICES_GROUPID, mojoExecution, PLUGIN_KEY, project, session, settings| Constructor and Description |
|---|
AutoBuildMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.shared.invoker.InvocationRequest |
createRequest(List<String> goals,
String... optionalProperties) |
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) |
executeBuild, executeGoalensureCliExecuted, findGoalExecution, findSrvProject, getReactorBaseDirectory, isCliExecuted, logDebug, logDebug, logError, logError, logError, logInfo, logWarn, logWarn, logWarn, scanDirectory, setProperty, strongprotected 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.