Package Details: java-debug 0.53.1-2

Git Clone URL: https://aur.archlinux.org/java-debug.git (read-only, click to copy)
Package Base: java-debug
Description: The debug server implementation for Java.
Upstream URL: https://github.com/microsoft/java-debug
Keywords: debug java jdtls
Licenses: EPL-1.0
Submitter: minhnbnt
Maintainer: minhnbnt
Last Packager: minhnbnt
Votes: 0
Popularity: 0.000000
First Submitted: 2023-06-09 15:05 (UTC)
Last Updated: 2024-11-27 15:45 (UTC)

Dependencies (1)

Required by (0)

Sources (3)

Latest Comments

simonzack commented on 2024-11-27 08:38 (UTC) (edited on 2024-11-27 08:40 (UTC) by simonzack)

It's best to use export MAVEN_OPTS="-Dmaven.repo.local=${startdir}/m2" so this doesn't pollute the Maven repo in the home directory.

Also won't it be easier to get this package directly from Maven? The build is also much faster. I do this in my local build:

build() {
  export MAVEN_OPTS="-Dmaven.repo.local=${startdir}/m2"
  mvn dependency:get "-Dartifact=com.microsoft.java:com.microsoft.java.debug.plugin:${pkgver}"
}

tesselslate commented on 2024-11-19 17:31 (UTC)

Patch for building 0.53.1:

diff --git a/PKGBUILD b/PKGBUILD
index c6b7f64..471b6bd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Nguyễn Quang Minh <minhnbnt at gmail dot com>
 pkgname=java-debug
-pkgver=0.53.0
+pkgver=0.53.1
 pkgrel=1
 pkgdesc="The debug server implementation for Java."
 arch=(any)
@@ -10,7 +10,7 @@ license=('EPL-1.0')
 depends=('java-runtime>=17')
 makedepends=('java-environment-openjdk')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/microsoft/java-debug/archive/refs/tags/${pkgver}.tar.gz")
-sha256sums=('df7a420d7d5efc79ac2e6db5d0cc119db1ae6f4fbe84cc24f6bab4aa6791ef37')
+sha256sums=('8a16e39837b1d21826cc31160c294e6bf87ede050b2a3fb8c985b50819841646')

 build() {
    cd "${srcdir}/${pkgname}-${pkgver}"