Closed carl-don-it closed 6 months ago
Hi
As you're using "complicated rulefactory" (assuming it's a custom rulefactory), one option could be changing it to use custom rules (extend rules that add javax.*
) in such way that logic will be overridden to generate jakarta.*
instead.
Other possibilities could be:
*.java
files by replacing javax.*
to jakarta.*
.jsonschema2pojo
patching it to suite the needsbtw, where can i get the rulefactory reference
Not sure what is meant by that
thanks, applying some transformation plugin would be easier,.
i mean is there any document that can guide me to write a rulefactory and explain how it works?
is there any document that can guide me to write a rulefactory and explain how it works?
I don't think that there is any official document. However I've pointed out several times and other people have posted examples on how to do that, see for example given comment.
TLDR:
RuleFactory
my project use version 0.5.1, and we need to upgrade the javax to jakarta, but we use a very complicated rulefactory and i don't want to upgrade the version, do you have any better solution? btw, where can i get the rulefactory reference