Talend Studio
allows you to customize the project POM settings, which is used by Maven to build your
projects.
Procedure
- Click File > Edit Project Properties from the menu bar to open the Project Settings dialog box.
-
Expand Build > Maven > Default on the left pane and click Project to open
the corresponding view.
The project POM settings is displayed on the right pane.
-
Customize the project POM settings.
- If you have installed the 8.0 R2023-02 Studio monthly update or a later
one provided by Talend, add your custom settings on the Custom tab.
Pay attention to the following before adding your custom settings:
- The following configuration can be customized without any warning
from Talend Studio:
<modelVersion>4.0.0</modelVersion> <groupId>@ProjectGroupId@</groupId> <artifactId>@ProjectArtifactId@</artifactId> <version>@ProjectVersion@</version> <packaging>pom</packaging> <name>@ProjectName@CodesMaster</name> <url>http://www.talend.org/</url>
- The configuration of the following Maven properties can be
customized, and there will be warnings from Talend Studio:
talend.project.name
talend.docker.name
talend.docker.jdk
talend.docker.tag
slf4j-api.version
encoding
maven.deploy.skip
signer.version
For more information about customizing the Docker related Maven properties, see Customizing Docker images build settings.
The
talend.docker.name
andtalend.docker.jdk
Maven properties can also be customized during Continuous Integration development. For more information, see Other Talend-related Maven parameters. - The configuration of the following plug-in elements under the
pluginManagement
element cannot be customized:org.apache.maven.plugins:maven-clean-plugin
org.apache.maven.plugins:maven-compiler-plugin
org.apache.maven.plugins:maven-resources-plugin
org.apache.maven.plugins:maven-jar-plugin
org.apache.maven.plugins:maven-assembly-plugin
org.apache.maven.plugins:maven-surefire-plugin
org.apache.maven.plugins:maven-install-plugin
org.apache.maven.plugins:maven-deploy-plugin
- The
org.talend.ci:builder-maven-plugin
plug-in cannot be customized. - The
id
of a newly created profile must be different from theid
of the default profilesnexus
,cloud-publisher
, anddocker
. - You can add the configuration of the following elements without any restrictions:
DependencyManagement
Dependencies
Repositories
PluginRepositories
DistributionManagement
SCM
- You can click Preview to preview the complete customized project POM settings after adding your custom settings.
- The following configuration can be customized without any warning
from Talend Studio:
- If you have not installed the 8.0 R2023-02 Studio monthly update or a
later one provided by Talend, edit the default project POM settings directly.
- If you have installed the 8.0 R2023-02 Studio monthly update or a later
one provided by Talend, add your custom settings on the Custom tab.
- Click Apply and Close to apply your changes and close the dialog box.