Skip to content

Add support for Azure Artifacts as an alternative to Central Analyzer (similar to Nexus/Artifactory) #8126

@twrb

Description

@twrb

Is your feature request related to a problem? Please describe.
Currently, Dependency-Check supports Nexus as an alternative to Maven Central for dependency metadata resolution. However, many organizations use Azure Artifacts as their private Maven repository. There is no native support for Azure Artifacts, which forces us to either disable the Central Analyzer or rely on external services, creating reliability and security concerns.

Describe the solution you'd like
Add support for Azure Artifacts as a repository source for dependency metadata, similar to the existing Nexus Analyzer. This should include:

Ability to configure an Azure Artifacts feed URL.
Support for authentication using Personal Access Token (PAT) or OAuth.
CLI and Gradle/Maven configuration options (e.g., --azureArtifactsUrl or -Danalyzer.azure.url).

Describe alternatives you've considered
Disabling the Central Analyzer and relying only on local scanning (losing version vulnerability checks).
Using Nexus as a proxy for Azure Artifacts (adds complexity and infrastructure overhead).
Manually mirroring Maven Central inside Azure Artifacts (still does not integrate with Dependency-Check directly).

Additional context
Azure Artifacts is widely adopted in enterprise environments, especially for teams using Azure DevOps pipelines. Supporting it natively would:

Improve reliability by reducing dependency on Maven Central availability.
Align with modern DevOps practices.
Enhance security by keeping dependency resolution within the organization.

Example Azure Artifacts Maven feed URL:
"https://pkgs.dev.azure.com/organization/project/_packaging/feed/maven/v1"

Example:

dependency-check.sh
--azureArtifactsUrl "https://pkgs.dev.azure.com/organization/project/_packaging/feed/maven/v1"
--azureArtifactsToken ""
--azureArtifactsEnabled true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions