vscode-maven icon indicating copy to clipboard operation
vscode-maven copied to clipboard

Extension doesn't detect new dependency version on `pom.xml` autocomplete

Open gian1200 opened this issue 8 months ago • 1 comments

Describe the bug When autocompleting dependency version in pom.xml, latest version is not available. However, running ./mvnw versions:display-dependency-updates -DprocessDependencyManagementTransitive=false shows it.

To Reproduce Steps to reproduce the behavior:

  1. Have a Quarkus app project (https://code.quarkus.io/) that depends on quarkus-poi
  2. Try autocomplete to list all versions of dependency
  3. See that version 2.1.2 is not in the list

Expected behavior Version 2.1.2 should be listed

Environments (please complete the following information as much as possible):

  • OS: Windows 11
  • VS Code version: 1.99.3
  • Extension version: 0.44.0
  • Maven: 3.9.9

Screenshots

Image

./mvnw versions:display-dependency-updates -DprocessDependencyManagementTransitive=false:

Image

Additional context

URLs:

  • https://repo1.maven.org/maven2/io/quarkiverse/poi/quarkus-poi/
  • https://central.sonatype.com/artifact/io.quarkiverse.poi/quarkus-poi/versions
  • https://mvnrepository.com/artifact/io.quarkiverse.poi/quarkus-poi

The only difference I see is that in mvnrepository, there seems to be 2 tabs (Central and wso2-public)

Image

Image

gian1200 avatar Apr 23 '25 00:04 gian1200