These parameters are detailed in the embedded help of the plugin (see the generate-mojo.html file) and can be used either in the mavenOpts (Jenkins)/mavenOptions(Azure DevOps) or the mvn(Jenkins)/options (Azure DevOps) commands of your CI build definition.
mvn org.talend.ci:builder-maven-plugin:<your_version>:help -Ddetail=true -s F:/<your_studio>/configuration/maven_user_settings.xml
mvn org.talend.ci:builder-maven-plugin:<your_version>:help -Dgoal=generateAllPoms -Ddetail=true -s F:/<your_studio>/configuration/maven_user_settings.xml
|Talend CommandLine parameters||-Dproduct.path||
Path to the Talend CommandLine installation directory.
|-Dp2Installer.path||Path to the Installer files.
If the -Dproduct.path parameter is specified, the Talend CommandLine product will be installed in the value specified for this parameter.
Example:This allows you to use different paths for installing and patching different product versions.
|-Dlicense.path||Path to the license of your Talend product.
If the licence path value is a URL and credentials are needed to access it, use the -Dlicense.remote.user and -Dlicense.remote.password parameters.
|URL address of your server where the P2 repository with Talend CommandLine can be downloaded and installed at build time.
This site also contains the Maven plugins and all the external libraries necessary to build your pipelines.
For an example of how to embed the P2 repository in your Tomcat application, see Before scheduling the execution of your artifacts.
Warning: This parameter only applies to users who have the P2 update site archive, which is provided by Talend.
|Parameters needed when installing updates from the update site:
|-Dpatch.path||Path to the patch you have installed or want to install (Talend Studio p2
patch, manual patch, component patch, etc.).
Example if you have installed the patch locally:
Example of patch to download:
If credentials are needed to access the remote patch location, use the -Dpatch.remote.user and -Dpatch.remote.password parameters. The patch.remote.password parameter can set a password encrypted by Maven.
|-Dgeneration.type||Type local as the value to generate the sources of
your artifacts and Tests locally without having to keep the Talend CommandLine up and running during the build
The server generation type is deprecated.
|-Dcommandline.skip||Type true as the value to skip the source code
generation of your artifacts.
This parameter can only be used if you have previously generated your artifacts using Talend CommandLine.
|-DprojectFilter||Allows you to build only specific projects.
Example of filter on all projects with a name starting with CI:
|-DitemFilter||Allows you to build only specific project items.
Example of filter on Job types:
Example of filter on Job labels:
Example of filter on Job paths:
Example of filter on the person who created the Job:
Example of exclusion filter:
Example of filter applied in order to execute Big Data Spark Batch Jobs located in the subfolders with a name starting with Export under the MainProcess folder, and with the exception of the Job named job_batch_feature22:
|-Dtalend.job.context and -Dtalend.job.applyContextToChildren||When building or scheduling the execution of Jobs, specifies the context
group to apply to all Jobs at build time.
Example to apply a context group named dev only to the parent Jobs and apply the default context group to the child Jobs:
Example to apply a context group named dev to the parent Jobs and apply the same context group to the child Jobs:
If the context group you specify does not exist on the Job, the default context group will be applied.
|-Dstudio.forceMavenOnline=true||In case of dependency error when building or scheduling the execution of
Jobs in offline mode, allows the Studio to download dependencies according to
what is defined in your Maven settings file.
The error you may get is the following:
It can also be avoided by re-generating all POM files before build time as these POM files would then contain all the dependencies needed to execute your Jobs.
|Custom component parameters||-Dcomponents.*||When deploying Jobs that use custom components to an artifact repository,
specifies the repository in which the component libraries are stored.
This is only required for the custom components created using Talend Component Kit.
For more information, read this documentation.
Note: For older javajet-based components, refer to this guide.
|-Xms -Xmx||JVM arguments that allow you to increase the memory available to Maven.|
|-Dcodes.compile.failOnError||To prevent the CI build to fail when encountering some routines with
compilation errors that are not used in the artifacts you are building, add
this parameter with a false value to skip them and