Configuring a proxy in the Maven setting file


In version 6.0.0, Talend Studio uses Maven to build a Job. At start up, the Talend Studio will check the status of the Maven JARs required for building the job. If necessary, Talend Studio will try to download them automatically from the Internet. If the Maven JARs are not downloaded successfully, you may get an error when building the Job, or the archive file may not be created without displaying any error.


If you are behind a proxy, you need to configure its access in the Maven setting file to ensure that the Maven JARs are downloaded successfully. This article demonstrates how to configure a proxy in the Maven setting file.



This article applies only to v6.0.0. Since v6.0.1, the Maven repository is delivered natively with the Talend Studio and already contains all required Maven JARs. However, with 6.1 a new parameter was introduced for advanced users. See Changing the Maven repository location, below.



  1. In Talend Studio, Click Windows > Preferences > Maven > User Settings.



  2. Click Open File to open the maven_user_settings.xml file.
  3. In the maven setting file, add the following snippet, as shown in

    <?xml version="1.0" encoding="UTF-8"?>
    <settings xmlns=""
  4. Save the file, and restart Talend Studio.


Changing the Maven repository location

By default, all artifacts are stored locally to the Studio (or the Commandline).


If the need arises, you may want to change the location of the Maven repository to a remote location based on the user setting.

To do so, simply change maven.repository=local to maven.repository=global. In this case, artifacts will then be stored in <user>/.m2, which will then require the user to have admin rights.

Version history
Revision #:
3 of 3
Last update:
‎09-29-2018 12:19 AM
Updated by:
Labels (2)