Skip to main content Skip to complementary content

Customizing the project POM settings

Talend Studio allows you to customize the project POM settings, which is used by Maven to build your projects.

Procedure

  1. Click File > Edit Project Properties from the menu bar to open the Project Settings dialog box.
  2. 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.
  3. Customize the project POM settings by adding your custom settings on the Custom tab.
    Project Settings dialog box.
    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 and talend.docker.jdk Maven properties can also be customized during Continuous Integration development. For more information, see Other Talend-related Maven parameters. Note that talend.docker.jdk is removed from the project POM settings after the Dockerfile settings is applied. For more information, see Customizing the Dockerfile settings.

    • 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 the id of the default profiles nexus, cloud-publisher, and docker.
    • 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.
  4. Click Apply and Close to apply your changes and close the dialog box.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!