Try here https://stackoverflow.com/a/32336886/2746335 Delany
On Tue, 22 Aug 2023 at 21:16, David Hoffer <dhoff...@gmail.com> wrote: > I'm wanting to use the JAXB2 Maven Plugin's XJC goal in a JDK17 project. > I'm using version 3.1.0. I can get it to generate the Java code but can't > find any way to add support for optional things like: > > toString > equals > hashCode > defaultValue > > Can someone point me in the right direction on how to add these very useful > options to the generated code. > > Thanks, > -Dave >