DependencyTrack / DependencyTrack/dependency-track

using maven-metadata.xml may show outdated version

Open
#3,062 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

for example `mqtt-client` latest version is 1.16
but dependency-track shows 1.12
![image](https://github.com/DependencyTrack/dependency-track/assets/51790620/c15ce880-46a8-4d1e-bea5-f761bf7fac44)

because https://repo1.maven.org/maven2/org/fusesource/mqtt-client/mqtt-client/maven-metadata.xml says so.
but asking the appropriate api https://search.maven.org/solrsearch/select/?q=g:org.fusesource.mqtt-client
reveals
`"latestVersion":"1.16"`

### Steps to Reproduce

see latest version of `mqtt-client`

### Expected Behavior

1.16

### Dependency-Track Version

4.8.0

### Dependency-Track Distribution

Container Image

### Database Server

MySQL

### Database Server Version

_No response_

### Browser

Google Chrome

### Checklist

- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.