Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12304
| From | Markus Koschany <apo@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: maven-*-helper JAR placement seems to contradict Java policy |
| Date | 2021-10-15 13:40 +0200 |
| Message-ID | <D8tJ8-HY-13@gated-at.bofh.it> (permalink) |
| References | <D8s0G-80J-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello,
Am Freitag, dem 15.10.2021 um 12:41 +0300 schrieb Andrius Merkys:
> Hello,
>
> Java policy on Java libraries (Ch. 2.4.) reads [1]:
>
> 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.
>
> However, it seems that packages built with maven-{debian,repo}-helper
> default settings contain the opposite: JAR archives are named
> packagename-extraname.jar, and packagename-extraname-version.jar are
> symbolic links to packagename-extraname.jar. For example see
> libcommons-lang3-java.
>
> This looks like a contradiction to me. Or am I just misreading the policy?
>
> [1] /usr/share/doc/java-policy/debian-java-policy.txt.gz, java-policy 0.57
Indeed, that looks like a bug in libcommons-lang3-java or rather maven-debian-
helper to me. I have just checked some other Maven packages and there the
policy is implemented correctly. The bug in libcommons-lang3-java could be
related to the relocation feature in the poms file but I haven't looked closer
yet.
Regards,
Markus
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
maven-*-helper JAR placement seems to contradict Java policy Andrius Merkys <merkys@debian.org> - 2021-10-15 11:50 +0200
Re: maven-*-helper JAR placement seems to contradict Java policy Markus Koschany <apo@debian.org> - 2021-10-15 13:40 +0200
Re: maven-*-helper JAR placement seems to contradict Java policy Andrius Merkys <merkys@debian.org> - 2021-10-15 15:30 +0200
Re: maven-*-helper JAR placement seems to contradict Java policy Emmanuel Bourg <ebourg@apache.org> - 2021-10-17 16:00 +0200
Re: maven-*-helper JAR placement seems to contradict Java policy Alexandre Rossi <niol@zincube.net> - 2021-10-18 09:40 +0200
Re: maven-*-helper JAR placement seems to contradict Java policy Andrius Merkys <merkys@debian.org> - 2021-10-18 09:40 +0200
Re: maven-*-helper JAR placement seems to contradict Java policy Alexandre Rossi <niol@zincube.net> - 2022-03-23 08:50 +0100
Re: maven-*-helper JAR placement seems to contradict Java policy Emmanuel Bourg <ebourg@apache.org> - 2022-03-23 10:10 +0100
Re: maven-*-helper JAR placement seems to contradict Java policy Thorsten Glaser <t.glaser@tarent.de> - 2022-03-23 15:20 +0100
Re: maven-*-helper JAR placement seems to contradict Java policy Alexandre Rossi <niol@zincube.net> - 2022-03-23 15:40 +0100
Re: maven-*-helper JAR placement seems to contradict Java policy Andrius Merkys <merkys@debian.org> - 2022-03-28 18:20 +0200
Bug#1007923: maven-*-helper JAR placement seems to contradict Java policy tony mancill <tmancill@debian.org> - 2022-03-29 06:10 +0200
Bug#1007923: maven-*-helper JAR placement seems to contradict Java policy Markus Koschany <apo@debian.org> - 2022-03-29 12:10 +0200
Bug#1007923: maven-*-helper JAR placement seems to contradict Java policy Pierre Gruet <pgt@debian.org> - 2022-03-29 16:50 +0200
csiph-web