Full name:


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

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


  • 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


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