Introduction
This Maven plugin provides several goals to perform CDS-related build steps. It can be used in CAP Java projects to perform the following build tasks:
- Install Node.js in the specified version
- Install CDS Development Kit in a specified version
- Execute
cds
commands to perform required CDS build steps - Execute
npm
andnpx
commands - Resolve CDS models for reuse from Maven dependencies
- Generate Java classes for type-safe access to the CDS model
- Clean a CAP Java project from artifacts of the previous build
See Plugin Documentation for further details about the provided goals.
See Sample Usage providing an example of how to use this plugin.