Skip to main content Skip to complementary content

Configuring Nexus manually

You can create the roles, users, and repositories manually.

Procedure

  1. Start by running Nexus.
  2. Go to the Sonatype Nexus Repository Manager interface.
  3. Under the Users tab, create the following users:
    • talend-updates-admin: this user is used in Talend Administration Center Configuration > Software Update group. Talend Administration Center downloads the patch from Talend Update Server and uses this account to upload the patch to Nexus. Talend Studio can download the patch from Nexus without credentials.
    • talend-custom-libs-admin: this user is used in Talend Administration Center Configuration > User Libraries group. Talend Studio gets the configuration information from Talend Administration Center to upload and download third-party libraries.
    1. Click Create local user.
    2. Write talend-updates-admin as the ID and fill the other required fields.
    3. Go to the Roles sub-section and add talend-updates-admin to the Granted list.
    4. Click Create local user.
    5. Create the user with the talend-custom-libs-admin ID.
    6. Go to the Roles sub-section and add talend-custom-libs-admin to the Granted list.
    7. Open the admin user.
    8. Add the nx-admin role to the Granted list.
    9. Open the anonymous user.
    10. Add the nx-anonymous, talend-custom-libs-release-read-only, talend-custom-libs-snapshot-read-only and talend-updates-read-only roles to the Granted list.
      Information noteNote: The anonymous user is not secure and not used in Talend Administration Center or Talend Studio. It is recommended to disable the anonymous user in Nexus.
  4. Go to the Repositories tab to create the following repositories:
    • talend-updates
    • talend-custom-libs-snapshot
    • talend-custom-libs-release
    1. Click Create repository.
    2. Select maven2 (hosted) from the list.
    3. Name your repository talend-updates.
    4. Under the sub-section version policy, select Release.
    5. Click Create repository to save your changes.
    6. Create another maven2 (hosted) repository named talend-custom-libs-snapshot.
    7. Under the sub-section version policy, select snapshot.
    8. Click Create repository to save your changes.
    9. Create the last maven2 (hosted) repository and name it talend-custom-libs-release.
  5. Under the sub-section version policy, select Release.
  6. Go to the Roles tab, click Create role > Nexus role and create the following roles with the following privileges added to the Given list:
    Option Description
    Role ID Privileges
    talend-updates-admin

    nx-repository-view-maven2-talend-updates-add

    nx-repository-view-maven2-talend-updates-browse

    nx-repository-view-maven2-talend-updates-edit

    nx-repository-view-maven2-talend-updates-read

    nx-script-*-run

    talend-updates-read-only

    nx-repository-view-maven2-talend-updates-read

    nx-repository-view-maven2-talend-updates-browse

    nx-script-*-run

    talend-custom-libs-admin

    nx-repository-view-maven2-talend-custom-libs-release-add

    nx-repository-view-maven2-talend-custom-libs-release-browse

    nx-repository-view-maven2-talend-custom-libs-release-edit

    nx-repository-view-maven2-talend-custom-libs-release-read

    nx-repository-view-maven2-talend-custom-libs-snapshot-add

    nx-repository-view-maven2-talend-custom-libs-snapshot-browse

    nx-repository-view-maven2-talend-custom-libs-snapshot-edit

    nx-repository-view-maven2-talend-custom-libs-snapshot-read

    nx-script-*-run

    talend-custom-libs-snapshot-read-only

    nx-repository-view-maven2-talend-custom-libs-snapshot-browse

    nx-repository-view-maven2-talend-custom-libs-snapshot-read

    nx-script-*-run

    talend-custom-libs-release-read-only

    nx-repository-view-maven2-talend-custom-libs-release-browse

    nx-repository-view-maven2-talend-custom-libs-release-read

    nx-script-*-run

What to do next

Go to the Configuration page of Talend Administration Center and add the configuration settings for the created repositories.

For more information, see Configuring the Software Update repository in Talend Administration Center, Configuring Talend Artifact Repository in Talend Administration Center and Setting up the user library location in Talend Administration Center User Guide.

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!