cds:build

Full name:

com.sap.cds:cds-maven-plugin:3.8.0:build

Description:

By default, this goal performs a CDS build with Java class generation executing the following goals of the cds-maven-plugin in this order:

  1. cds:install-node
  2. cds:install-cdsdk
  3. cds:npm
  4. cds:resolve
  5. cds:cds
  6. cds:generate
The list of goals can be modified by setting a custom goal list to the parameter goals on the command line.
Any Java property provided on the command line with the -D option is forwarded to the invoked goals.
Call 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.

Note: This goal can only be executed from the command line.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator goal.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Since version: 1.17.0.

Optional Parameters

Name Type Since Description
<goals> List<String> 3.8.0 The list of goals to execute in the specified order.
Default: install-node,install-cdsdk,npm,resolve,cds,generate
User Property: goals

Parameter Details

<goals>

The list of goals to execute in the specified order.
  • Type: java.util.List<java.lang.String>
  • Since: 3.8.0
  • Required: No
  • User Property: goals
  • Default: install-node,install-cdsdk,npm,resolve,cds,generate