Nexus

Point FOSSA at your Nexus private registry for each language under Account Settings → Languages.

3 min readUpdated Jul 9, 2026

Overview

When FOSSA analyses a project, it resolves dependencies from the same registries your build tool uses. If your team proxies public packages through Nexus (or hosts private packages there) configure credentials so FOSSA can fetch those dependencies too.

Configure private registry credentials under Account Settings → Languages. Each language has its own settings page.

How it works

FOSSA passes the credentials you configure here to the relevant package manager fetcher at analysis time. For Maven, it injects a custom settings.xml; for other languages it sets the registry URL and credentials equivalently. Credentials are stored encrypted and never appear in logs or scan output.

Supported languages

LanguageSettings pageAuth method
Java (Maven)/account/settings/languages/javaRepository URL + Server credentials (ID, username, password)
JavaScript (npm)/account/settings/languages/npmRegistry URL + username/password or token
Python (pip)/account/settings/languages/pythonRepository URL + username/password
Rust (Cargo)/account/settings/languages/rustRegistry URL + token or username/password
Ruby (Gems)/account/settings/languages/rubySource URL + username/password
.NET (NuGet)/account/settings/languages/dotnetSource URL + username/password

Configuring Java (Maven)

Java uses two separate config sections that mirror Maven's settings.xml: Repositories define where to fetch packages from, and Servers supply the credentials. The Repository ID and Server ID must match.

  1. 1

    Add a repository

    Go to Account Settings → Languages → Java and click Add Repository.

    FieldValue
    IDAn identifier you choose (e.g. nexus-central)
    URLYour Nexus repository URL (e.g. https://nexus.yourcompany.com/repository/maven-public/)
  2. 2

    Add a server

    Click Add Server and fill in credentials for the repository you just added.

    FieldValue
    IDMust exactly match the Repository ID from the previous step
    UsernameYour Nexus username or service account name
    PasswordYour Nexus password or user token
  3. 3

    Save

    Click Save Settings. FOSSA will use these credentials when it fetches Maven dependencies for your projects.

Note

Add one entry per Nexus repository. If you have separate proxy and hosted repos, add both with matching server entries.

Configuring other languages

For all other supported languages, add a registry or repository URL and supply credentials.

  1. 1

    Open the language settings page

    Go to Account Settings → Languages and select your language from the sidebar.

  2. 2

    Add your Nexus repository URL

    Enter the Nexus repository URL for that package type. Nexus URLs use the repository path directly, no /api/<type>/ prefix.

    LanguageExample Nexus URL format
    npmhttps://nexus.yourcompany.com/repository/npm-proxy/
    piphttps://nexus.yourcompany.com/repository/pypi-proxy/simple
    Cargohttps://nexus.yourcompany.com/repository/cargo-proxy/
    Ruby Gemshttps://nexus.yourcompany.com/repository/rubygems-proxy/
    NuGethttps://nexus.yourcompany.com/repository/nuget-proxy/index.json
  3. 3

    Enter credentials

    Supply a username and password, or a token where the settings page offers that option. Click Save Settings.

© 2026 FOSSA, Inc.support@fossa.com