Am 06.09.2017 um 19:56 schrieb Michael Weghorn: [...] > $ ls -l /tmp/extracted/manual/org/hibernate/validator/internal/util/logging/ > total 144 > -rw-r--r-- 1 user user 21057 Sep 6 19:11 Log.class > -rw-r--r-- 1 user user 944 Sep 6 19:11 LoggerFactory.class > -rw-r--r-- 1 user user 22029 Sep 6 19:11 Log.i18n.properties > -rw-r--r-- 1 user user 75030 Sep 6 19:11 Log_$logger.class > -rw-r--r-- 1 user user 4964 Sep 6 19:11 Messages_$bundle.class > -rw-r--r-- 1 user user 1894 Sep 6 19:11 Messages.class > -rw-r--r-- 1 user user 2142 Sep 6 19:11 Messages.i18n.properties > ~~~ > > I could verify that those are the relevant files by replacing the > "logging" directory from the Debian jar file with the one from the > manual build and repacking the jar file. Page extraction in pdfsam works > with the jar created this way. > > > Unfortunately, I am not experienced with Debian packaging of Maven > projects and do not know what would be the way to fix the issue. > > Maybe the above notes can still be helpful to somebody else...
Thank you very much. That was helpful. Now I believe that libhibernate-validator-java or one of its build-dependencies is buggy and the aforementioned files are not generated as they should be. You called Maven the usual way and probably downloaded the build-dependencies from Maven Central. However the Debian package is self-contained and only uses Debian's system libraries under /usr/share/maven-repo. I believe that either the maven-processor-plugin or the annotation-processor module of hibernate-validator itself are responsible. At least I see the following warnings: [INFO] --- maven-processor-plugin:3.3.1:process (process) @ hibernate-validator --- [WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] diagnostic: warning: [options] bootstrap class path not set in conjunction with -source 1.6 [WARNING] diagnostic: warning: The following options were not recognized by any processor: '[loggingVersion, translationFilesPath]' This needs more investigation. Regards, Markus
signature.asc
Description: OpenPGP digital signature

