Nexus
Point FOSSA at your Nexus private registry for each language under Account Settings → Languages.
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
| Language | Settings page | Auth method |
|---|---|---|
| Java (Maven) | /account/settings/languages/java | Repository URL + Server credentials (ID, username, password) |
| JavaScript (npm) | /account/settings/languages/npm | Registry URL + username/password or token |
| Python (pip) | /account/settings/languages/python | Repository URL + username/password |
| Rust (Cargo) | /account/settings/languages/rust | Registry URL + token or username/password |
| Ruby (Gems) | /account/settings/languages/ruby | Source URL + username/password |
| .NET (NuGet) | /account/settings/languages/dotnet | Source 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
Add a repository
Go to Account Settings → Languages → Java and click Add Repository.
Field Value ID An identifier you choose (e.g. nexus-central)URL Your Nexus repository URL (e.g. https://nexus.yourcompany.com/repository/maven-public/) - 2
Add a server
Click Add Server and fill in credentials for the repository you just added.
Field Value ID Must exactly match the Repository ID from the previous step Username Your Nexus username or service account name Password Your Nexus password or user token - 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
Open the language settings page
Go to Account Settings → Languages and select your language from the sidebar.
- 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.Language Example Nexus URL format npm https://nexus.yourcompany.com/repository/npm-proxy/pip https://nexus.yourcompany.com/repository/pypi-proxy/simpleCargo https://nexus.yourcompany.com/repository/cargo-proxy/Ruby Gems https://nexus.yourcompany.com/repository/rubygems-proxy/NuGet https://nexus.yourcompany.com/repository/nuget-proxy/index.json - 3
Enter credentials
Supply a username and password, or a token where the settings page offers that option. Click Save Settings.