Main Maven options you may need to build your project manually - Cloud - 8.0

Talend Software Development Life Cycle Best Practices Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend JobServer
Talend Management Console
Talend Remote Engine
Talend Studio
Content
Administration and Monitoring
Deployment
Design and Development
Last publication date
2024-02-29

Maven option Description
-f, --file<arg> Forces the use of a specific POM file (here, the directory of the pom.xml of your Talend project).
-s, --settings<arg> Forces the use of a specific user settings file (here, the path to your custom settings.xml file).

Talend CommandLine uses the global Maven settings by default, unless you add the -s parameter to specify one settings file.

Talend recommends the Talend CI zero install workflow, however if you are using a pre-installed Talend CommandLine for CI, without a global Maven setup, you might need to use this parameter to specify the settings inside the configuration folder.

-fae, --fail-at-end With this option, the build that contain errors will fail afterward while allowing all non-impacted builds to continue.

This option is useful when building multi-module projects to spot execution errors rather than hiding them.

-e, --erros Produces execution error messages.

This option is useful to diagnose an error in a Maven plugin.

-pl,--projects <arg> Comma-delimited list of specified reactor projects to build instead of all projects.
Note: The -pl parameter is not supported for SOAP services.
  • All Jobs from a project can be published without using the -pl option.
  • If you want individual Jobs to be published, you can publish the Job which is related to the service using the -pl option. But publishing the whole service using the -pl option is not supported.
-am,--also-make If you have specified a project using the -pl command, also builds the projects required by the listed project(s).
-D,--define <arg> Defines a system property.

All Talend custom Maven options need to be used with the -D option. Check the list of these custom options in Talend custom Maven build options.

All Maven CLI options are referenced on the Apache Maven website.