Hi,
I based my ZUGFeRD validation plugin (https://github.com/ZUGFeRD/ZUV) for veraPDF 1.6.3 on the embeddedFilesSample plugin in.
I'd now like to perform the actual validation against the ZUGFeRD schematron, more precisely against the generated XSL file.
I included ph-schematron as dependency, which will throw me noClassFound-Runtime exceptions if I only include it in the pom. I tried to solve that by shading the apparently required classes into the JAR. The issue is: if I do, I will inevitably run into a Nullpointerexception.
I left one comment in the pom.xml and two in src/main/java/ZUV/ZUGFeRDExtractor.java in the current master [37794a4] which, if removed, should perform the validation but previously run into the NullPointerException at org.verapdf.processor.FeaturesPluginsLoader.initializeExtractor(FeaturesPluginsLoader.java:132) .
Can someone please help? Is veraPDF using ph-schematron as well? If there was a way to invoke the veraPDF schematron validation functionality from within a plugin that would remove some redundancy and my plugin would shrink in size.
thanks and kind regards Jochen
Hi,
When I run mvn clean package as documented per https://github.com/veraPDF/veraPDF-rest on the integration branch I get a Failed to transfer file Bad Gateway:
[ERROR] Failed to execute goal on project verapdf-rest: Could not resolve dependencies for project org.verapdf:verapdf-rest:jar:0.1.0-SNAPSHOT: Failed to collect dependencies at org.verapdf:validation-model:jar:1.4.4: Failed to read artifact descriptor for org.verapdf:validation-model:jar:1.4.4: Could not transfer artifact org.verapdf:validation-model:pom:1.4.4 from/to vera-pdfbox (http://artifactory.opf-labs.org/artifactory/vera-pdfbox-local): Failed to transfer file: http://artifactory.opf-labs.org/artifactory/vera-pdfbox-local/org/verapdf/va.... Return code is: 502 , ReasonPhrase:Bad Gateway. -> [Help 1]
Same applies for master branch. Anybody any ideas or potential fixes?
thanks and kind regards Jochen
users@lists.openpreservation.org