streams-plugin-hive generates resources from json schemas to assist with analysis of json data using Apache Hive.
Output will be placed in target/generated-resources/hive by default
Run within a module containing a src/main/jsonschema directory
mvn org.apache.streams.plugins:streams-plugin-hive:0.4-incubating:generate-resources
Embed within your own java code
StreamsHiveGenerationConfig config = new StreamsHiveGenerationConfig(); config.setSourceDirectory("src/main/jsonschema"); config.setTargetDirectory("target/generated-resources"); StreamsHiveGenerationConfig generator = new StreamsHiveGenerationConfig(config); generator.run();