Skip to main content

Talend custom Maven build options

Maven options you can pass when building, executing, and publishing artifacts on your Continuous Integration server.

Information noteNote: There are three types of Maven parameters that you can use in your builds:
  • The generic build parameters used by the Talend CI Builder plugin.
  • The parameters related to deployment used by the Talend CI Builder and Cloud publisher plugins.
  • The other Talend parameters that are not defined in the CI Builder plugin.
Talend leverages a standard Maven-based Continuous Integration (CI) implementation. A CI Maven command typically looks like this:
mvn \
   -f <project name>/poms/pom.xml \
   -am -pl <comma separated list of jobs modules> \
   -Dgeneration.type=local
   -Dlicense.path=<license local path or url> \
   <!-- This parameter is only supported and needed for users with Talend Studio 8.0.1 R2024-04 or lower 
   -Dtalend.studio.p2.base=<P2 update site base url> \ -->
   -Dtalend.studio.p2.update=<P2 update folder path or url> \
   -Pcloud-publisher
   -Dservice.url=<talend cloud service url>
   -Dcloud.token=<talend cloud personal access token>
   -Dcloud.publisher.screenshot=<true or false>
   -Dcloud.publisher.environment=<name of your existing Cloud environment> 
   -Dcloud.publisher.workspace=<name of your existing Cloud workspace>
clean deploy
Example:
mvn -f C:/CI_CD/MYPROJECT/poms/pom.xml clean deploy -fae -e -pl jobs/process/priorTest_0.1 -am
   -Dlicense.path=C:/Talend/studio/license
   <!-- This parameter is only supported and needed for users with Talend Studio 8.0.1 R2024-04 or lower 
   -Dtalend.studio.p2.base=https://update.talend.com/Studio/8/base -->
   -Dtalend.studio.p2.update=https://update.talend.com/Studio/8/updates/R2023-02
   -Pcloud-publisher
   -Dservice.url=https://tmc.eu.cloud.talend.com/inventory/
   -Dcloud.token=XYourPersonalAccessCloudTokenX 
   -Dcloud.publisher.screenshot=true 
   -Dcloud.publisher.environment=dev-ci 
   -Dcloud.publisher.workspace=ci-workspace

Starting from version 8.0.1 R2024-05, the CI Builder parameter -Dtalend.studio.p2.base is no longer supported nor required.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!