How to generate classes with duplicate name in separate packages using jsonschema2pojo?
<p>I am using <a href="https://github.com/joelittlejohn/jsonschema2pojo/wiki/Getting-Started#the-maven-plugin" rel="nofollow noreferrer">jsonschema2pojo-maven-plugin</a> (0.4.19) to generate Java classes from JSON files.</p>

<p>I have 2 JSON files which have same field "xyz" with different attributes.
So once I generate the "xyz" class from the 2nd JSON file, it replaces the first "xyz" class.</p>

<p>Is there any way to create 2nd class in a separate package, or is there any other way to avoid this issue?</p>