Skip to content

NexusAnalyser cannot download pom files from Nexus #8296

@MichaelVetter

Description

@MichaelVetter

Describe the bug
NexusAnalyser search returns pom URLs that point to our Nexus V3.
NexusAnalyser cannot download these pom files from our Nexus.
Since the exception message from the Downloader class is not logged I can only guess why it fails.
I assume that the Downloader does not use the credentials from the configured nexusServerId.

Version of dependency-check used
The problem occurs using version 12.2.0 of the maven plugin

Log file
[WARNING] Unable to download pom.xml for my-tomcat.war: spring-binding-3.0.1.jar from Nexus repository; this could result in undetected CPE/CVEs.

Expected behavior
The exception message from the Downloader class should be logged.
The Downloader should use the credentials from the configured nexusServerId when called by the NexusAnalyser.

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