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

Path csiph.com!eternal-september.org!reader02.eternal-september.org!weretis.net!feeder8.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
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 Tue, 29 Mar 2022 06:10:01 +0200
Message-ID <E6bl7-4Vjs-1@gated-at.bofh.it> (permalink)
References <D8vrA-1Lr-15@gated-at.bofh.it> <D9eRH-5VX-1@gated-at.bofh.it> <D9vpv-87z-1@gated-at.bofh.it> <D9vpw-87z-7@gated-at.bofh.it> <E43UJ-3BSs-1@gated-at.bofh.it> <E450u-3Cuu-9@gated-at.bofh.it> <E4a09-3FDX-1@gated-at.bofh.it> <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>
X-Original-To Andrius Merkys <merkys@debian.org>, 1007923@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Mar 29 04:09:12 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -6.71
Reply-To tony mancill <tmancill@debian.org>, 1007923@bugs.debian.org
Original-Sender tony mancill <tmancill@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
X-Debian-Pr-Message followup 1007923
X-Debian-Pr-Package maven-debian-helper
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source maven-debian-helper
X-Gm-Message-State AOAM5308LyBjeaSqTS7Wpune1SzhDoXpa2bMWcrPke176auvZJdc+vnK VdhbkosCOfJ+oFY8gEvqPw4=
X-Google-SMTP-Source ABdhPJxve9uKmTH6QNcp0WU9NuOVzZnIB72y25ivVWBXosrOyJyPtAAQrcZqoMgj5EzBp7mxpX85Qw==
X-Received by 2002:a17:902:dccc:b0:153:a902:e542 with SMTP id t12-20020a170902dccc00b00153a902e542mr29495477pll.16.1648526774743; Mon, 28 Mar 2022 21:06:14 -0700 (PDT)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5zxqdsbz4xixsvzq"
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1711255
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 76
Organization linux.* mail to news gateway
X-Original-Cc debian-java@lists.debian.org
X-Original-Date Mon, 28 Mar 2022 21:06:01 -0700
X-Original-Message-ID <20220329040601.beko7c3jetijlcpz@lark>
X-Original-References <68a120c1-7779-8e79-3501-43ee135dd8c0@debian.org> <8e43321d-75e7-7731-ec27-b01c4c147a8c@apache.org> <YW0it8W9MoQ10Blq@zincube.net> <ee42c298-7279-c663-c000-71f8ab54a7a3@debian.org> <YjrO8PQGhDJHsFRc@zincube.net> <9093aa34-ddce-6f06-dbe5-b474f6eeda9b@apache.org> <252e7cbe-7818-e667-d18-b92e5a298fd@tarent.de> <YjsvwWOD0jWZksXD@zincube.net> <164761768210.195751.1147398609714147448.reportbug@localhost> <6e6ca4f7-d35f-a063-969d-8f9f144783fb@debian.org> <164761768210.195751.1147398609714147448.reportbug@localhost> <6e6ca4f7-d35f-a063-969d-8f9f144783fb@debian.org>
X-Original-Sender tony mancill <tmancill@gmail.com>
Xref csiph.com linux.debian.bugs.dist:1098460 linux.debian.maint.java:12366

Cross-posted to 2 groups.

Show key headers only | 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