Control: tags -1 pending confirmed

Hi,
thanks for reporting. I will use javahelper to correct the Class-Path
attribute as you have suggested. I didn't use the verbose mode of
jh_classpath though. By the way it is also possible to use a
override_jh_classpath.

The root cause of this problem is in pom.xml. The maven-jar-plugin is
configured to set the classpath automatically with

<addClasspath>true</addClasspath>

By default it is assumed that all jars are in the same directory. This
is another good example why relative classpaths suck in the context of
Debian Java packaging. Instead of using javahelper we could also modify
the pom.xml and configure the maven-jar-plugin to use a custom Class-Path

https://maven.apache.org/shared/maven-archiver/examples/classpath.html#Custom

However I agree that it is simpler to use javahelper and avoid the patch
which is not needed upstream. Have a nice weekend

Cheers,

Markus

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to