Hi Jochen,

The "trick" here is that the apps project doesn't rely on the library directly but rather it inherits the dependency from either veraPDF-validation or veraPDF-pdfbox-validation for the greenfield and PDF Box versions respectively. It sounds as though what you're intending to develop might be best approached as a feature plugin which wouldn't require a change to core at all if done right. Given the documentation and provided examples aren't great at the moment I'd be willing to spend some time helping you get going and producing some better documentation. I'm out of the office today but am around for most of the rest of June and July so we could find some time if possible.

Let me know what you think.

Best,
Carl
On Tue, 13 Jun 2017 at 12:52, Jochen Staerk <jstaerk@usegroup.de> wrote:

Hi,

I'd love to be your beta reader, maybe what I want to change is not as core-ish as you anticipate so I guess this does not even touch the validation part. I want to add the file contents to the Feature Extraction data of the Embedded files so that I can run a policy validation, i.e. a schematron on it, so I expect I need to change veraPDF-library and veraPDF-apps only(?).


Apropos documentation, thanks for the page which shows how to integrate veraPDF (I used that for a very rudimentary version of our web interface, see https://github.com/ZUGFeRD/ZUV/), is it possible to also run feature extraction/policy checking programmatically?


kind regards

Jochen


Carl Wilson <carl@openpreservation.org> hat am 13. Juni 2017 um 10:57 geschrieben:


Hi Jochen,

What you're looking to do takes a little Maven trickery. You're effectively wanting to replace a public Maven component so you'll need to tie down the version numbers so that it uses your custom version. Which version are you hoping to change, the greenfield or PDF Box version, or possibly both? If you let me know I'll add some detailed instructions to the documentation site and you can be my tester if that's OK?

Best,
Carl
On Sun, 11 Jun 2017 at 12:44, Jochen Staerk <jstaerk@usegroup.de> wrote:
Hi,

I want to change something in the core, i.e. in veraPDF-library.
In the end it should affect the veraPDF GUI, i.e. veraPDF-apps.

I checked out both veraPDF-library and veraPDF-apps and I can build both
of them separately with "mvn clean install" and "mvn clean install -P
clone-test-resources" respectively but the latter one seems to downoad
and use code from artifactory.

My question is: how can I build a version of veraPDF-apps which uses my
updated version of veraPDF-library?


thanks and kind regards
Jochen

PS: I seem to get a [WARNING] The requested profile
"clone-test-resources" could not be activated because it does not exist.
_______________________________________________
Users mailing list
Users@lists.verapdf.org
http://lists.verapdf.org/listinfo/users
--
Carl Wilson | Technical Lead
carl@openpreservation.org | skype: carl.f.wilson
Open Preservation Foundation | openpreservation.org
--
Carl Wilson | Technical Lead
carl@openpreservation.org | skype: carl.f.wilson
Open Preservation Foundation | openpreservation.org