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
  • Execute cds commands to perform required CDS build steps
  • Execute npm and npx 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
  • Print detailed version information about the CAP Java project
  • Start a CAP Java application and watch for changes in the CDS model

See Plugin Documentation for further details about the provided goals.

See Sample Usage providing an example of how to use this plugin.