GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feature: lemminx-maven · Issue #418 · nvim-java/nvim-java

feature: lemminx-maven #418

New issue
Copy link
New issue
Copy link
Open
Open
feature: lemminx-maven#418
Copy link
Labels
enhancementNew feature or requestNew feature or request

Description

@drewma2k
drewma2k
opened on Aug 25, 2025
Issue body actions

Did you check the docs?

  • I have read all the docs

Is your feature request related to a problem? Please describe.

  • Difficulty in auto-installing lemminx-maven
  • autocomplete for dependencies in pom.xml files in general

Describe the solution you'd like

lemminx-maven a plugin for the xml LSP lemminx that adds features for autocomplete etc. in pom.xml files. However, it is not available through Mason. I thought it might be a good idea to (optionally) provide it through this plugin, perhaps through the nvim-java mason registry, which could replace the standard version of lemminx with this patched version. Is there any interest or is this out of scope?

Describe alternatives you've considered

  • downloading, compiling, and adding lemminx-maven to the system path manually
  • writing a standalone lua module to accomplish the above
  • using a local registry (only intended for local testing, needs to be installed every time neovim is started)
  • similar capabilities are provided through vscode-maven as a jdtls extension but would require writing additional client logic

Additional context

No response

Activity

  1. drewma2k
    added
    enhancementNew feature or requestNew feature or request
    on Aug 25, 2025
  2. logrusx commented on Aug 26, 2025

    @logrusx
    logrusx
    on Aug 26, 2025
    Collaborator
    More actions

    Have you tried requesting it in Mason repo?

  3. sergii-dudar commented on Nov 24, 2025

    @sergii-dudar
    sergii-dudar
    on Nov 24, 2025
    More actions

    I don't know why you need similar functionality in nvim-java, it's just extension to non native (jar based) lemminx ls.
    In mason registry only native lemminx, it's not extendable, you need jar based (non native) one. I don't believe that mason will accept both java native and non native version of lemminx ls into main stream.

    Here is how it's done in my config (link to my answer in lemminx-maven discussion about nvim config) eclipse-lemminx/lemminx-maven#588 (comment)

  4. s1n7ax commented on Nov 25, 2025

    @s1n7ax
    s1n7ax
    on Nov 25, 2025
    Member
    More actions

    BTW, we are dropping support for Mason.nvim due to amount of annoying issues we are getting. So, in the next release, we are dropping nvim-java/mason-registry.

    Don't understand what @sergii-dudar said.

    BUT

    I would like to add this as long as,

    • There is no any other neovim plugin that does this
    • We don't have to build the jar from source

    eclipse-lemminx/lemminx-maven#588 (comment)

    This looks pretty simple, except jar has to be built from source.
    https://github.com/sergii-dudar/dotfiles/blob/master/nvim/.config/nvim/lua/plugins/editor/java/lemminx-ls.lua

  5. sergii-dudar commented on Nov 26, 2025

    @sergii-dudar
    sergii-dudar
    on Nov 26, 2025
    More actions

    @s1n7ax I mean, that mason lemminx version, it's java native binary (by graalvm to be more accurate), and it can't be extended with maven extension (or any jar based extensions).
    you can check it in vscode binaries to lemminx, or by explanation in this thread:

    eclipse-lemminx/lemminx-maven#588 (comment)

    it's the main reason why I had to build jars from sources by my self manually to be able to provide maven jars, and to successfully extend lemminx in the result.

    but it will be great to have all that bundle in mason registry.
    Sorry for my hard explanation, english is not my native language

  6. logrusx commented on Nov 26, 2025

    @logrusx
    logrusx
    on Nov 26, 2025
    Collaborator
    More actions

    @sergii-dudar OP doesn't ask for a maven extension or plugin. They ask if they can have code completion in pom.xml. I don't see what does maven extension or whatever has to do with it.

    Reacted by serhii.dudar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.