[Git][java-team/vnu][master] 6 commits: Fixed the build failure with maven-install-plugin 3.2.0 (Closes: #1152591)
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Sun Nov 8 16:25:09 GMT 2026
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / vnu
Commits:
6aba9f66 by Emmanuel Bourg at 2026-11-08T13:52:42+01:00
Fixed the build failure with maven-install-plugin 3.2.0 (Closes: #1152591)
- - - - -
14efaf30 by Emmanuel Bourg at 2026-11-08T13:52:42+01:00
Set the Java Team as Maintainer
- - - - -
3225c7c9 by Emmanuel Bourg at 2026-11-08T13:52:42+01:00
Removed the Priority field
- - - - -
fccdfd3d by Emmanuel Bourg at 2026-11-08T13:53:17+01:00
Converted debian/watch to the version 5 format
- - - - -
9429cc97 by Emmanuel Bourg at 2026-11-08T16:58:56+01:00
Removed the maven-shade-plugin version patch and constraints
- - - - -
6eaf3c98 by Emmanuel Bourg at 2026-11-08T16:58:56+01:00
Upload to unstable
- - - - -
9 changed files:
- debian/changelog
- debian/clean
- debian/control
- − debian/m2-settings.xml
- debian/patches/debian-adapt-build-of-jing-shaded.jar.patch
- − debian/patches/debian-set-maven-shaded-plugin-version.patch
- debian/patches/series
- debian/rules
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,20 @@
+vnu (26.8.15.1+dfsg-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Fab Stz ]
+ * Improved the description of libvnu-java and libvnu-java-common
+ * New dependency on procps for vnu-server (Closes: #1144847)
+
+ [ Emmanuel Bourg ]
+ * Fixed the build failure with maven-install-plugin 3.2.0 (Closes: #1152591)
+ * Removed the maven-shade-plugin version patch and constraints
+ * Set the Java Team as Maintainer
+ * Removed the Priority field
+ * Converted debian/watch to the version 5 format
+
+ -- Emmanuel Bourg <ebourg at apache.org> Sun, 08 Nov 2026 13:53:17 +0100
+
vnu (26.8.15.1+dfsg-1) unstable; urgency=medium
* New upstream version 26.8.15.1+dfsg
=====================================
debian/clean
=====================================
@@ -1,6 +1,6 @@
build/__pycache__/
build/coverage/
-debian/m2/
+debian/maven-repo/
debian/vnu-common.links
debian/workaround/
docs/*.1
=====================================
debian/control
=====================================
@@ -1,7 +1,7 @@
Source: vnu
Section: web
-Priority: optional
-Maintainer: Fab Stz <fabstz-it at yahoo.fr>
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Fab Stz <fabstz-it at yahoo.fr>
Build-Depends:
debhelper-compat (= 13),
ant,
@@ -28,14 +28,14 @@ Build-Depends-Indep:
libmaven-compiler-plugin-java,
libmaven-install-plugin-java,
libmaven-resources-plugin-java,
- libmaven-shade-plugin-java (<= 3.6.3~~),
- libmaven-shade-plugin-java (>= 3.6.2~),
+ libmaven-shade-plugin-java,
libsaxon-java,
libsaxonb-java,
libslf4j-java,
libsurefire-java,
libxalan2-java,
maven,
+ maven-debian-helper,
netcat-openbsd,
pandoc,
python3-minimal,
=====================================
debian/m2-settings.xml deleted
=====================================
@@ -1,32 +0,0 @@
-<settings
- xmlns="http://maven.apache.org/SETTINGS/1.2.0">
- <profiles>
- <profile>
- <id>debian-maven-repo</id>
- <repositories>
- <repository>
- <id>central</id>
- <url>file:///usr/share/maven-repo</url>
- <releases>
- <checksumPolicy>ignore</checksumPolicy>
- </releases>
- <snapshots>
- <checksumPolicy>ignore</checksumPolicy>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>central</id>
- <url>file:///usr/share/maven-repo</url>
- <releases>
- <checksumPolicy>ignore</checksumPolicy>
- </releases>
- <snapshots>
- <checksumPolicy>ignore</checksumPolicy>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
- </profile>
- </profiles>
-</settings>
=====================================
debian/patches/debian-adapt-build-of-jing-shaded.jar.patch
=====================================
@@ -12,11 +12,9 @@ Forwarded: not-needed
build/shade-with-maven.py | 78 ++++++++++++++++++++++++++---------------------
2 files changed, 47 insertions(+), 39 deletions(-)
-diff --git a/build/build.py b/build/build.py
-index 5d40a8d..60a2cc3 100755
--- a/build/build.py
+++ b/build/build.py
-@@ -1064,10 +1064,10 @@ class Release():
+@@ -1064,10 +1064,10 @@
'nu.validator.vendor.relaxng.datatype')
content = content.replace('com.thaiopensource',
'nu.validator.vendor.thaiopensource')
@@ -31,21 +29,25 @@ index 5d40a8d..60a2cc3 100755
# Handle duplicate “provides” declarations
lines = content.split('\n')
-diff --git a/build/shade-with-maven.py b/build/shade-with-maven.py
-index 49b90c3..8673c40 100755
--- a/build/shade-with-maven.py
+++ b/build/shade-with-maven.py
-@@ -12,6 +12,9 @@ import tempfile
+@@ -11,7 +11,14 @@
+
def main():
# Determine Maven command based on platform
- mvn_cmd = "mvn.cmd" if sys.platform == "win32" else "mvn"
-+ mvn_args = ["-s", os.path.dirname(os.path.abspath(__file__)) + "/../debian/m2-settings.xml",
-+ "-P", "debian-maven-repo",
-+ "-Dmaven.repo.local=" + os.path.dirname(os.path.abspath(__file__)) + "/../debian/m2"]
+- mvn_cmd = "mvn.cmd" if sys.platform == "win32" else "mvn"
++ mvn_cmd = "java"
++ mvn_args = ["-cp", "/usr/share/maven/boot/plexus-classworlds-2.x.jar",
++ "-Dmaven.home=/usr/share/maven",
++ "-Dmaven.multiModuleProjectDirectory=.",
++ "-Dclassworlds.conf=/etc/maven/m2-debian.conf",
++ "org.codehaus.plexus.classworlds.launcher.Launcher",
++ "-s/etc/maven/settings-debian.xml",
++ "-Dmaven.repo.local=" + os.path.dirname(os.path.abspath(__file__)) + "/../debian/maven-repo"]
# Paths
jing_jar = "jing-trang/build/jing.jar"
-@@ -22,23 +25,25 @@ def main():
+@@ -22,23 +29,25 @@
print(f"Error: {jing_jar} not found. Build jing-trang first.")
sys.exit(1)
@@ -77,7 +79,7 @@ index 49b90c3..8673c40 100755
result = subprocess.run(
install_cmd,
-@@ -54,30 +59,30 @@ def main():
+@@ -54,30 +63,30 @@
print("Successfully installed jing.jar to local Maven repo")
@@ -132,7 +134,7 @@ index 49b90c3..8673c40 100755
pom_content = """<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
-@@ -99,11 +104,11 @@ def main():
+@@ -99,11 +108,11 @@
<artifactId>jing</artifactId>
<version>20091111</version>
</dependency>
@@ -146,7 +148,7 @@ index 49b90c3..8673c40 100755
</dependencies>
<build>
-@@ -129,14 +134,14 @@ def main():
+@@ -129,14 +138,14 @@
<pattern>org.relaxng</pattern>
<shadedPattern>nu.validator.vendor.relaxng</shadedPattern>
</relocation>
@@ -163,7 +165,7 @@ index 49b90c3..8673c40 100755
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
-@@ -155,7 +160,10 @@ def main():
+@@ -155,7 +164,10 @@
f.write(pom_content)
print("Running Maven package with shade plugin...")
=====================================
debian/patches/debian-set-maven-shaded-plugin-version.patch deleted
=====================================
@@ -1,25 +0,0 @@
-From: Fab Stz <fabstz-it at yahoo.fr>
-Date: Mon, 3 Aug 2026 19:05:27 +0200
-Subject: Set maven-shaded-plugin Version
-
-Set maven-shade-plugin version to the one that is shipped by Debian.
-In conformance with d/control
-
-Forwarded: not-needed
----
- build/shade-with-maven.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build/shade-with-maven.py b/build/shade-with-maven.py
-index 8673c40..a836b12 100755
---- a/build/shade-with-maven.py
-+++ b/build/shade-with-maven.py
-@@ -116,7 +116,7 @@ def main():
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
-- <version>3.5.1</version>
-+ <version>3.6.2</version>
- <executions>
- <execution>
- <phase>package</phase>
=====================================
debian/patches/series
=====================================
@@ -2,7 +2,6 @@ debian_classpath.patch
debian-skip-checkServiceWithRuntimeImage.patch
debian-no-jing-trang-lib.patch
debian-adapt-build-of-jing-shaded.jar.patch
-debian-set-maven-shaded-plugin-version.patch
debian-update-messages.json-for-dfsg-cleanup.patch
debian-build-fixes-for-war.patch
debian-adapt-manpages.patch
=====================================
debian/rules
=====================================
@@ -90,6 +90,7 @@ override_dh_auto_clean:
override_dh_auto_build-indep:
mkdir -p dependencies # Required by build.py
+ /usr/share/maven-debian-helper/copy-repo.sh $(CURDIR)/debian # Required by shade-with-maven.py
python3 checker.py $(BUILD_ARGS) ant:validator-split-client-jar
python3 checker.py $(BUILD_ARGS) build
python3 checker.py $(BUILD_ARGS) war
=====================================
debian/watch
=====================================
@@ -1,3 +1,10 @@
-version=4
-opts="mode=git, gitmodules,pgpmode=none,repacksuffix=+dfsg,repack,dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//" \
-https://github.com/validator/validator refs/tags/(\d\d\..*)
+Version: 5
+Mode: git
+Source: https://github.com/validator/validator
+Matching-Pattern: refs/tags/(\d\d\..*)
+Git-Modules: all
+Pgp-Mode: none
+Dversion-Mangle: s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//
+Repack: yes
+Repacksuffix: +dfsg
+Compression: xz
View it on GitLab: https://salsa.debian.org/java-team/vnu/-/compare/67ed84681df65401f5a8503580a41908fa00663a...6eaf3c98f75e3c49fb8d889ccca3592d386a26e9
--
View it on GitLab: https://salsa.debian.org/java-team/vnu/-/compare/67ed84681df65401f5a8503580a41908fa00663a...6eaf3c98f75e3c49fb8d889ccca3592d386a26e9
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261108/7b8f3434/attachment.htm>
More information about the pkg-java-commits
mailing list