cds:addTargetPlatform
Full name:
com.sap.cds:cds-maven-plugin:3.3.1:addTargetPlatform
Deprecated:
Since 3.2.0. Use mvn com.sap.cds:cds-maven-plugin:add -Dfeature=TARGET_PLATFORM
instead. This goal will be removed in a future release.
Description:
Add a target platform dependency (cds-starter-${targetPlatform}
) to the service module dependencies of the CAP Java project. If the dependency already exists, nothing is done.
Call mvn cds:addTargetPlatform -DtargetPlatform=cloudfoundry
or mvn com.sap.cds:cds-maven-plugin:addTargetPlatform -DtargetPlatform=cloudfoundry
to add CloudFoundry 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 goal.
- 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 |
- |
Specify the name of the target platform to add.
Allowed values are:
User Property: targetPlatform |
Parameter Details
<targetPlatform>
Specify the name of the target platform to add.
Allowed values are:
Allowed values are:
- cf | cloudfoundry: adds support for CloudFoundry
- k8s | kubernetes | kyma: adds support for K8s/Kyma
- Type:
java.lang.String
- Required:
Yes
- User Property:
targetPlatform