cds:addTargetPlatform
Full name:
com.sap.cds:cds-maven-plugin:1.33.0:addTargetPlatform
Description:
Add a target platform dependency (
Call
Note: This goal can only be executed from the command line.
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 is: targetPlatform . |
Parameter Details
<targetPlatform>
Specify the name of the target platform to add.
Allowed values are:
Allowed values are:
- cloudfoundry: adds support for CloudFoundry
- Type:
java.lang.String
- Required:
Yes
- User Property:
targetPlatform