Re: maven-*-helper JAR placement seems to contradict Java policy

2022-03-28 Thread Andrius Merkys
Hi Alexandre, On 2022-03-23 16:33, Alexandre Rossi wrote: > Seems to work: > > $ ls -la /usr/share/java/htmlcleaner* > lrwxrwxrwx 1 root root 15 18 mars 18:20 > /usr/share/java/htmlcleaner-2.26.jar -> htmlcleaner.jar > -rw-r--r-- 1 root root 176219 18 mars 18:20 /usr/share/java/htmlc

Re: maven-*-helper JAR placement seems to contradict Java policy

2022-03-23 Thread Alexandre Rossi
Hi, > > I vaguely remember that replacing a symlink with a file during a package > > update was causing some issues (i.e. the target is updated but the symlink > > Wasn’t that only for directories? Seems to work: $ ls -la /usr/share/java/htmlcleaner* lrwxrwxrwx 1 root root 15 18 mars 1

Re: maven-*-helper JAR placement seems to contradict Java policy

2022-03-23 Thread Thorsten Glaser
On Wed, 23 Mar 2022, Emmanuel Bourg wrote: > I vaguely remember that replacing a symlink with a file during a package > update was causing some issues (i.e. the target is updated but the symlink Wasn’t that only for directories? bye, //mirabilos -- Infrastrukturexperte • tarent solutions GmbH A

Re: maven-*-helper JAR placement seems to contradict Java policy

2022-03-23 Thread Emmanuel Bourg
I vaguely remember that replacing a symlink with a file during a package update was causing some issues (i.e. the target is updated but the symlink isn't replaced). If that's still true I'd refrain from applying this change to maven-debian-helper. The slight deviation from the Java policy isn't

Re: maven-*-helper JAR placement seems to contradict Java policy

2022-03-23 Thread Alexandre Rossi
Hi, > >>> 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. > >> > >> There isn't much impact, both styles are fine in my opinion. > > > > This seems to trigger https://lintian.

Re: maven-*-helper JAR placement seems to contradict Java policy

2021-10-18 Thread Andrius Merkys
Hi, On 2021-10-18 10:31, Alexandre Rossi wrote: >>> 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. >> >> There isn't much impact, both styles are fine in my opinion. > > This see

Re: maven-*-helper JAR placement seems to contradict Java policy

2021-10-18 Thread Alexandre Rossi
Hi, > > 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. > > There isn't much impact, both styles are fine in my opinion. This seems to trigger https://lintian.debian.org/tags/bad

Re: maven-*-helper JAR placement seems to contradict Java policy

2021-10-17 Thread Emmanuel Bourg
Le 15/10/2021 à 15:17, Andrius Merkys a écrit : > 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. There isn't much impact, both styles are fine in my opinion. Emmanuel Bourg

Re: maven-*-helper JAR placement seems to contradict Java policy

2021-10-15 Thread Andrius Merkys
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

Re: maven-*-helper JAR placement seems to contradict Java policy

2021-10-15 Thread Markus Koschany
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 ext