#1063873 Building a reverse dependency of the guava-testlib artifact fails

#1063873#5
Date:
2024-02-13 20:33:38 UTC
From:
To:
Dear Maintainer,

When one tries to use the com.google.guava:guava-testlib:debian artifact in a
Maven pom.xml file, during the build one gets the error

[ERROR] Failed to execute goal on project myProject: Could not resolve dependencies for project myGroup:myProject:jar:myVersion: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google.guava:guava:bundle:debian has not been downloaded from it before. -> [Help 1]

because the pom of guava-testlib looks for com.google.guava:guava with the
"bundle" type. I trust we should ship com.google.guava:guava with the "jar"
packaging type instead of "bundle", this is more accurate and compliant with
Debian-Java practices.

For instance I believe the enclosed patch allows one to package guava-libraries
with "jar" artifacts instead of "bundle". Yet I did not try to build the rdeps.

Best,

#1063873#10
Date:
2024-02-13 20:39:45 UTC
From:
To:
Also we need to remove the "bundle" line in d/maven.rules, remove
d/maven.publishedRules, add org.apache.felix:maven-bundle-plugin to
d/maven.ignoreRules and drop the B-D on libmaven-bundle-plugin-java.

#1063873#13
Date:
2026-09-29 08:09:10 UTC
From:
To:
Hello,

Bug #1063873 in guava-libraries reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/java-team/guava-libraries/-/commit/1d88ff3da4d8814679550b6740d6db00f6db22f5

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1063873

#1063873#20
Date:
2026-09-29 08:40:32 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
guava-libraries, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1063873@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebourg@apache.org> (supplier of updated guava-libraries package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 29 Sep 2026 10:04:31 +0200
Source: guava-libraries
Architecture: source
Version: 33.7.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebourg@apache.org>
Closes: 1063873
Changes:
 guava-libraries (33.7.1-1) unstable; urgency=medium
 .
   * New upstream release
     - Removed the checkerframework annotations, no longer used upstream
     - Refreshed the patches
     - Adjusted the JPMS module descriptors
     - Build depend on liberror-prone-java (>= 2.23)
     - New build dependency on libbuild-helper-maven-plugin-java
     - New dependency on libjspecify-java
     - Updated the Maven rules
   * Reverted the guava-testlib type from bundle to jar (Closes: #1063873)
   * Excluded the Gradle wrapper from the upstream tarball
   * Standards-Version updated to 4.7.4
   * Removed the redundant Priority field
Checksums-Sha1:
 52e00f9dae989b1ee71306ac54798a1147233d04 2407 guava-libraries_33.7.1-1.dsc
 2c8576df43f58e5ad565e7f4ba6d134c17643b2f 3544856 guava-libraries_33.7.1.orig.tar.xz
 6328b14a9c89f04af68fb6dcdcc1888d0ad523f2 22112 guava-libraries_33.7.1-1.debian.tar.xz
 03abf2863ffd20ed93de584f3f6af6fe556895e7 15752 guava-libraries_33.7.1-1_source.buildinfo
Checksums-Sha256:
 02e7bbdf155be61f32d58029057326a06ee3b0282e9978ba3f44914e0e8fc306 2407 guava-libraries_33.7.1-1.dsc
 c0373c687dce7a4ce3f0e5d4012a05c6d2e0417b6200b85bb5b0105e258de6f3 3544856 guava-libraries_33.7.1.orig.tar.xz
 a7b812d35d69e034adc58e3e6e761050473a9fdc42991263f3fc080f73b472c4 22112 guava-libraries_33.7.1-1.debian.tar.xz
 97634476612485086e7bde1bd5ad62985c66a398794104d1d5e3489db940226d 15752 guava-libraries_33.7.1-1_source.buildinfo
Files:
 499dd35b430fcc20c2cd7a3ff8abadc1 2407 java optional guava-libraries_33.7.1-1.dsc
 5b0da6bd20b23925fdb7239a0b90eed6 3544856 java optional guava-libraries_33.7.1.orig.tar.xz
 e9f5b866b32537a7aa7861a20cfd6135 22112 java optional guava-libraries_33.7.1-1.debian.tar.xz
 8ae1e0b92c2e716f177d5961e9784e3c 15752 java optional guava-libraries_33.7.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmq7cgMSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsFLwP/3oqj0yUHSGk1O0CMpDt3kjXfSg1AVpe
/p4Huq0nDe01ZBtDZz0ZpbW8tPy9Pb1xHqSGjy1x5xphZ1tVNp3Ieuu1+sy0DCau
qiOfQV3FQQuesOHvyqDU2Z2tp3z+lQtDUSLIzaHsZUaDPxE8OKkn3WXuXcConxZn
8YrHNrpLf0mYnTEWNSaSvThJmovXky9S8qZSOBal7bHQJyX3+LAlnph+FsF6QjHB
4RHhEoAEuPHCI/xRzg7F11xNQXkD+4LtaGqWKpI/30rcsl5s/buWgCSXhlqaAzrF
8+FMN8IABw8hT+nFLIMOtAO6b1NF344VlqRq/OmZSV84i5wuuDEc8UvqEWCFhE9h
yTOcS/HGDHc4n+zDLCNrQisFeGqg0k92JVBl5XgStwXQ7qLco8lOem6BEyIfV+HS
TKxs70Fl1gzHDOSyAo7jUgun8C+ufCiuY7i8/jSlS+y8rrmzFAAT9R3PIT+LaUDH
c/zeSysoymXv2wD14uUNW8/68wNbVRi7Qro+VvwP32v1EY5Ani8+dpooc4EoHkeH
axsQm3kwmreZv+/uzC03vBwgTGM/nASPy/L2Omm6W4C9c3xuxh8oddNV7zivML0E
N3UQo0R6mcrkMML8r3MykYnKh6x7dUiy0CcGYk7fs6HtfLbaHhXl4wis13WuQ/GY
Fixaz+uGDzla
=dMls
-----END PGP SIGNATURE-----