Bug#1007923: maven-debian-helper: comply to java policy and fix W: bad-jar-name

tony mancill tmancill at debian.org
Sun Jun 11 17:55:28 BST 2023


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230611/869dd6e3/attachment.sig>


More information about the pkg-java-maintainers mailing list