Main Maven options you may need to build your project manually
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. Information noteNote: The -pl parameter is not supported for
SOAP services.
|
-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.