mklemm / jaxb-rich-contract-plugin

Implements some JAXB plugins to generate advanced contract scenarios from XSD
MIT License
67 stars 33 forks source link

JDK13 and two options for fluent-builder (disable copyOf and method prefix) #71

Closed thunderhook closed 1 year ago

thunderhook commented 2 years ago

This PR handles JDK13 (by upgrading to recent parent) and adds two options.

The first is to disable the copyOf method of the builder itself (this is problematic when using mapstruct with model classes) The second is to set another prefix instead of "with" - event an empty String is possible, so that no prefix is used.

thunderhook commented 1 year ago

Nevermind this pull request, we solved this by using another (self-written) plugin generating lombok SuperBuilders.