Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12305
| From | Andrius Merkys <merkys@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: maven-*-helper JAR placement seems to contradict Java policy |
| Date | 2021-10-15 15:30 +0200 |
| Message-ID | <D8vrA-1Lr-15@gated-at.bofh.it> (permalink) |
| References | <D8s0G-80J-5@gated-at.bofh.it> <D8tJ8-HY-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Markus, On 2021-10-15 14:34, Markus Koschany wrote: > 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. Thanks for giving it a look. However, it think that maven-debian-helper should not be placing files against the policy by default. I usually use mh_make for initial packaging, and now I see that most of my packages are violating MUST of a policy because of that. I took a quick look at my /usr/share/java, and these seems to be quite some packages with versionless JARs and versioned symbolic links [1], just to name a few (out of 125): libantlr3-runtime-java libcompress-lzf-java libhttpclient-java libmorfologik-stemming-java libsurefire-java Not sure though what is the impact of this policy inversion. Most of Java-related software seems to read both regular files and symbolic links transparently. [1] $ comm -1 -2 <(find /usr/share/java/ -type l | grep -P '[-][\.0-9]+\.jar$' | xargs -n1 dpkg -S | cut -d : -f 1 | sort) <(find /usr/share/java/ -type f | grep -P '[-][^\.0-9]+\.jar$' | xargs -n1 dpkg -S | cut -d : -f 1 | sort) | uniq Best, Andrius
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