Package Details: lemminx 0.31.2-1

Git Clone URL: https://aur.archlinux.org/lemminx.git (read-only, click to copy)
Package Base: lemminx
Description: Eclipse XML language server
Upstream URL: https://github.com/eclipse/lemminx
Keywords: eclipse java lemminx lsp xml
Licenses: EPL-2.0
Submitter: Grelek
Maintainer: bart
Last Packager: bart
Votes: 5
Popularity: 0.000032
First Submitted: 2021-07-09 09:53 (UTC)
Last Updated: 2026-06-17 10:55 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

nervocalm commented on 2026-06-16 23:49 (UTC) (edited on 2026-06-16 23:50 (UTC) by nervocalm)

Hi everyone... It is giving error again in the license directory

install: cannot stat '/home/nervocalm/.cache/yay/lemminx/src/license/*': No such file or directory

Removing the license check/copy code, like @spixmaster showed below, worked for me. Thanks!

bart commented on 2026-05-26 06:40 (UTC)

@Spixmaster: It is fixed now. Sorry for the issues, but eclipse's mirror system is a bit ... peculiar

Spixmaster commented on 2026-05-24 10:04 (UTC)

I compiled from source. The tests fail so they have to be disabled.

Even then the result is broken.

❯ lemminx
Picked up _JAVA_OPTIONS: -Djava.util.prefs.userRoot=/home/matheus/.config/java/
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
no main manifest attribute, in /usr/share/java/lemminx/lemminx-0.31.1.jar
# Maintainer: Bart Libert <bart plus aur at libert dot email>
# Contributor: Radim Sückr <kontakt@radimsuckr.cz>

# This PKGBUILD is based on https://aur.archlinux.org/packages/jdtls, thank you

pkgname=lemminx
pkgver=0.31.1
_jarname="${pkgname}-${pkgver}.jar"
pkgrel=1
pkgdesc='Eclipse XML language server'
arch=('any')
url='https://github.com/eclipse/lemminx'
license=('EPL-2.0')
depends=('java-runtime')
makedepends=()
# https://download.eclipse.org/lemminx/releases/
source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz"
    'launcher.sh')
sha512sums=('1d1b0d532991de8da7e1fb864f3094bf997aac236573eda4a9a30ba230517a1701ce71e7aed174dfad7be1caa1b15043a33912e95f7752561f1c6bfcf3981e8d'
    '21973956910861bb7c608a0240cc8fd2ef15a5753bfee8df36dfda39721a06d474a66c59a22501b990fb3d3d063531a385dca62a7e91b248c1cb9509aff77cec')
changelog="CHANGELOG.md"

build()
{
    cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ || exit 1
    ./mvnw clean verify -DskipTests
}

package()
{
    install -Dm644 "${srcdir}"/"${pkgname}"-"${pkgver}"/org.eclipse.lemminx/target/org.eclipse.lemminx-0.31.1.jar "${pkgdir}/usr/share/java/lemminx/${_jarname}"
    #     for file in ${srcdir}/license/*; do
    #         install -Dm644 "${srcdir}/license/${file##*/}" "${pkgdir}/usr/share/licenses/${pkgname}/${file##*/}"
    #     done
    install -Dm755 "${srcdir}/launcher.sh" "${pkgdir}/usr/bin/lemminx"
}

Spixmaster commented on 2026-05-24 09:33 (UTC) (edited on 2026-05-24 09:35 (UTC) by Spixmaster)

I fixed the PKGBUILD locally. Even then, it is still broken.

❯ lemminx
Error: Invalid or corrupt jarfile /usr/share/java/lemminx/lemminx-0.31.1.jar

In general, the approach is wrong. Do not install a binary. Otherwise, the package should be called lemminx-bin.

Use ./mvnw clean verify.

Spixmaster commented on 2026-05-24 09:31 (UTC)

Error happens.

install: cannot stat '/home/matheus/.cache/paru/clone/lemminx/src/license/*': No such file or directory

Mailaender commented on 2026-05-18 11:13 (UTC)

Please don't use the Eclipse download server directly. Use a mirror instead, as their own infrastructure does not scale. https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/IT_Infrastructure_Doc#use-mirror-sitessee-which-mirrors-are-mirroring-my-files

Coelacanthus commented on 2024-01-16 15:48 (UTC)

Please follow RFC16 use EPL-2.0

Grelek commented on 2022-05-03 10:57 (UTC) (edited on 2022-05-03 10:57 (UTC) by Grelek)

@thomy2000 yeah, they stopped doing releases in GitHub :) I follow https://download.eclipse.org/lemminx/releases/ for new versions.

thomy2000 commented on 2022-05-02 20:17 (UTC) (edited on 2022-05-02 20:19 (UTC) by thomy2000)

Oh they stopped doing releases and switched to tags instead. Hope others also see this. Sorry for flagging.

thomy2000 commented on 2022-05-02 20:09 (UTC)

Why is the version at 20 when the release on the git page is only at 11?