Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12366

Bug#1007923: maven-*-helper JAR placement seems to contradict Java policy

From tony mancill <tmancill@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.java
Subject Bug#1007923: maven-*-helper JAR placement seems to contradict Java policy
Date 2022-03-29 06:10 +0200
Message-ID <E6bl7-4Vjs-1@gated-at.bofh.it> (permalink)
References (7 earlier) <E4ajv-3FKe-1@gated-at.bofh.it> <E2mRP-2AzM-13@gated-at.bofh.it> <E60g1-4OsC-9@gated-at.bofh.it> <E2mRP-2AzM-13@gated-at.bofh.it> <E60g1-4OsC-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Mar 28, 2022 at 07:17:46PM +0300, Andrius Merkys wrote:
> 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/htmlcleaner.jar
> >   $ sudo dpkg -i oss/debian/davmail/libhtmlcleaner-java_2.26-1+fix+bad+jar+name+1_all.deb
> >   [...]
> >   $ ls -la /usr/share/java/htmlcleaner*
> >   -rw-r--r-- 1 root root 176219 23 mars  15:27 /usr/share/java/htmlcleaner-2.26.jar
> >   lrwxrwxrwx 1 root root     20 23 mars  15:27 /usr/share/java/htmlcleaner.jar -> htmlcleaner-2.26.jar
> 
> Many thanks for the proposed patch. It seems we need a decision now on
> which one is actually buggy: maven-debian-helper or java-policy. I would
> vote for upholding the java-policy if only the symlink placement switch
> does not break anything (neither reverse dependencies not the update
> mechanism). Having versionless symlinks parallels nicely lib*-dev shlib
> scheme and there might be situations where this is beneficial for Java
> too. Unluckily enough, there are >700 source packages now directly
> affected by this [1].
> 
> [1] https://lintian.debian.org/tags/bad-jar-name

Hello Andrius, hi Alexandre,

I can't speak to every reverse dependency, but I don't expect breakage
to occur with this change, assuming of course that the update mechanism
works consistently.  I also agree with you that a versionless symlink to
a versioned jar file seems preferable.  As you mention, if nothing else,
it is consistent with other languages in Debian.  So my vote is to
accept the change.

That fact that so many packages are affected does mean there will be a
lot of uploads, but ideally we will upload at least once per release
cycle (anyway), so the timing of this patch and proposal is reasonable.

I am interested to hear other opinions from the Debian Java Team.

Cheers,
tony

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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