For a customer, the local deployment process needs to differ from Cloud Manager. A developer wants to execute maven profile for the Cloud Manager deployment pipeline only Which configuration should the developer use?
In the given scenario, the developer needs to execute a Maven profile specifically for theCloud Manager deployment pipeline. This requires the use of a property that is exclusive to Cloud Manager, allowing the profile to activate only when the build is being executed in the Cloud Manager environment.
Option C uses the correct activation property:
env.cloudmanager
This property is specific to Adobe's Cloud Manager environment, ensuring that this Maven profile will only be activated during Cloud Manager deployments. This allows the local deployment process to remain unaffected while the correct profile is triggered in Cloud Manager.
Options A and B use other properties (env.CM_BUILD or CM_BUILD) that are not standard or specific to the Cloud Manager environment, making them incorrect choices.
For more details, you can refer to Adobe’sCloud Manager Maven Configurationdocumentation, which outlines how to configure Maven profiles specifically for Cloud Manager's deployment pipelines.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit