Talend custom Maven build options - 8.0

Talend Software Development Life Cycle Best Practices Guide

Version
8.0
Language
English
Product
Talend Big Data
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Module
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend JobServer
Talend Studio
Content
Administration and Monitoring
Deployment
Design and Development

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

Note: There are two types of Maven parameters that you can use in your builds:
  • The parameters used by the Talend CI builder plugin.
  • 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
        -Dproduct.path=<CommandLine path>
        -Dlicense.path=<license local path or url> \
        -Dtalend.studio.p2.base=<P2 update site base url> \
        -Dtalend.studio.p2.update=<P2 update folder path or url> \
clean deploy
Example:
mvn -f C:/CI_CD/MYPROJECT/poms/pom.xml clean deploy -fae -e -pl jobs/process/priorTest_0.1 -am 
-Dproduct.path=C:/Talend/cmdlineX -Dlicense.path=C:/Talend/studio/license 
-Dtalend.studio.p2.base=https://update.talend.com/Studio/8/base
-Dtalend.studio.p2.update=https://update.talend.com/Studio/8/updates/R2022-01
-Dproject.distributionManagement.snapshotRepository.url=http://localhost:8081/repository/snapshots/ 
-Dproject.distributionManagement.snapshotRepository.id=snapshots 
-DaltDeploymentRepository=snapshots::default::http://localhost:8081/repository/snapshots/