Hello Debian Java, On Fri, Mar 18, 2022 at 04:34:42PM +0100, Alexandre Rossi wrote: > Package: maven-debian-helper > Version: 2.6 > Severity: normal > Tags: patch > > Dear Maintainer, > > When I build a package, for instance libhtmlcleaner-java, with > maven-debian-helper, > I get in my lintian output: > > W: bad-jar-name usr/share/java/htmlcleaner.jar > > Debian Java packaging policy states (ยง 2.4): > > Their classes must be in jar archive(s) in the directory /usr/share/java, > with the name packagename[-extraname]-fullversion.jar. The extraname > is optional and used internally within the package to separate the > different jars provided by the package. The fullversion is the version > of that jar file. In some cases that is not the same as the package > version. > > Some package must also provide a symbolic link from > packagename-extraname.jar to the most compatible version of the available > packagename-extraname-version.jar files.
The change to comply with the Java packaging policy has been uploaded to unstable for the trixie release cycle. If we see wide-scale breakage, we can revisit the issue (and modify policy if needed). Otherwise, I intend to address any minor breakage on a package-by-package basis to comply with policy, and invite others to as well. Thank you to all for the discussion and help on this long-standing issue. Cheers, tony
signature.asc
Description: PGP signature