cds:addTargetPlatform

Full name:

com.sap.cds:cds-maven-plugin:1.29.0:addTargetPlatform

Description:

Add a target platform cds-starter-${targetPlatform} to the dependencies of the current CAP Java project if missing.
Call mvn com.sap.cds:cds-maven-plugin:addTargetPlatform -DtargetPlatform=cloudfoundry to add Cloud Foundry target platform.

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

Attributes:

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

Required Parameters

Name Type Since Description
<targetPlatform> String 1.5.0 The target platform support to add.
User property is: targetPlatform.

Parameter Details

<targetPlatform>

The target platform support to add.
  • Type: java.lang.String
  • Since: 1.5.0
  • Required: Yes
  • User Property: targetPlatform