Embed within your own java code
StreamsPojoGenerationConfig config = new StreamsPojoGenerationConfig();
config.setSourceDirectory("src/main/jsonschema");
config.setTargetDirectory("target/generated-sources/pojo");
StreamsPojoSourceGenerator generator = new StreamsPojoSourceGenerator(config);
generator.run();