[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lintian: [new check] verify that JAR filename complies with Debian Java Policy



2015-07-07 15:26 GMT+02:00 tony mancill <tmancill@debian.org>:
> On 07/07/2015 04:15 AM, Emmanuel Bourg wrote:
>> Le 06/07/2015 06:36, tony mancill a écrit :
>>
>>> This warning is useful because
>>> some components of the Debian Java toolchain fail when JAR files don't
>>> comply with the naming policy.
>>> [...]
>
> I proposed the check as a result of this thread [1].  At least mh_make
> is failing, and perhaps there are others that will silently fail in this
> context.
>
> [...]
> [1] https://lists.debian.org/debian-java/2015/06/msg00009.html

Hi,

I may be wrong; but I think I experienced this issue not because of
the case of the jar, but because of the case of the pom installed by
maven-repo-helper.
In particular, the fix was only [1] to change
debian/libaxmlrpc-java.poms like this

    -pom.xml --usj-name=aXMLRPC
    +pom.xml --usj-name=axmlrpc

Moreover, I now use mh_make to build my dependency aXMLRPC (instead of
java_helper + maven-repo-helper). It builds a jar which is not in
lowercase; but I can run mh_make successfully afterwards.

By the way, quick question -since I submitted a RFS [2] for axmlrpc,
and got not reply yet-: should I fix my package in order to produce a
jar with a lower case name? (I read the java packaging policy, but
could find an answer there).

Regards,
Guillaume

[1]: https://lists.debian.org/debian-java/2015/06/msg00025.html
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791398


Reply to: