In online tool http://www.jsonschema2pojo.org/ there is an option to set Class Name, so the generated root class will be named as I want it. I cant find the same option in maven-plugin option and the generated root class has default name: OutputSchema.java Is there a way to set it up? My pom.xml
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>0.5.1</version>
<configuration>
<sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
<outputDirectory>${basedir}/src/main/java</outputDirectory>
<targetPackage>com.test.generated</targetPackage>
<targetVersion>1.8</targetVersion>
<sourceType>json</sourceType>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>