[Git][java-team/guice][master] 5 commits: Declare the dependency on jsr305, no longer provided by Guava (Closes: #1149744)

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Sun Oct 18 21:10:08 BST 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / guice


Commits:
9cc8ad67 by Emmanuel Bourg at 2026-10-18T21:44:23+02:00
Declare the dependency on jsr305, no longer provided by Guava (Closes: #1149744)

- - - - -
b221b20f by Emmanuel Bourg at 2026-10-18T22:03:59+02:00
Converted debian/watch to version 5 format

- - - - -
09e06612 by Emmanuel Bourg at 2026-10-18T22:03:59+02:00
Standards-Version updated to 4.7.4

- - - - -
42efe5f7 by Emmanuel Bourg at 2026-10-18T22:03:59+02:00
Removed the Priority field

- - - - -
9980f505 by Emmanuel Bourg at 2026-10-18T22:08:09+02:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/declare-jsr305-dependency.patch
- + debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+guice (5.1.0-2) unstable; urgency=medium
+
+  * Declare the dependency on jsr305, no longer provided by Guava
+    (Closes: #1149744)
+  * Converted debian/watch to version 5 format
+  * Standards-Version updated to 4.7.4
+  * Removed the Priority field
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Sun, 18 Oct 2026 22:07:52 +0200
+
 guice (5.1.0-1) unstable; urgency=medium
 
   * New upstream release


=====================================
debian/control
=====================================
@@ -1,6 +1,5 @@
 Source: guice
 Section: java
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Emmanuel Bourg <ebourg at apache.org>
 Build-Depends:
@@ -12,12 +11,13 @@ Build-Depends:
  libbuild-helper-maven-plugin-java,
  libeasymock-java,
  libguava-java,
+ libjsr305-java,
  libjarjar-maven-plugin-java,
  libmaven-bundle-plugin-java,
  libservlet-api-java,
  libspring-beans-java,
  maven-debian-helper (>= 2.2)
-Standards-Version: 4.7.0
+Standards-Version: 4.7.4
 Vcs-Git: https://salsa.debian.org/java-team/guice.git
 Vcs-Browser: https://salsa.debian.org/java-team/guice
 Homepage: https://github.com/google/guice


=====================================
debian/patches/declare-jsr305-dependency.patch
=====================================
@@ -0,0 +1,19 @@
+Description: Declare the dependency on jsr305 explicitly
+ The core module uses javax.annotation.Nullable and javax.annotation.concurrent
+ but never declared jsr305; it got it transitively from Guava. Guava 33.4.3
+ dropped that dependency when it moved its nullness annotations to JSpecify.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/core/pom.xml
++++ b/core/pom.xml
+@@ -26,6 +26,10 @@
+       <groupId>com.google.guava</groupId>
+       <artifactId>guava</artifactId>
+     </dependency>
++    <dependency>
++      <groupId>com.google.code.findbugs</groupId>
++      <artifactId>jsr305</artifactId>
++    </dependency>
+     <!--
+      | ASM is embedded by default by the JarJar build profile
+     -->


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+declare-jsr305-dependency.patch


=====================================
debian/watch
=====================================
@@ -1,3 +1,6 @@
-version=4
-opts=repack,compression=xz \
-https://github.com/google/guice/tags .*/([\d\.]+).tar.gz
+Version: 5
+Template: GitHub
+Owner: google
+Project: guice
+Repack: yes
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/guice/-/compare/8fe9c1f034580f4b4e55da21421a06227d2fc26e...9980f5051a08058e727dd197c0d22025407af629

-- 
View it on GitLab: https://salsa.debian.org/java-team/guice/-/compare/8fe9c1f034580f4b4e55da21421a06227d2fc26e...9980f5051a08058e727dd197c0d22025407af629
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/20261018/a4d7f849/attachment.htm>


More information about the pkg-java-commits mailing list