streams-plugin-scala generates source files from json schemas suitable for writing Apache Streams components and libraries in Scala.
Run within a module containing a src/main/jsonschema directory
mvn org.apache.streams.plugins:streams-plugin-scala:0.4-incubating:pig
Embed within your own java code
StreamsScalaGenerationConfig config = new StreamsScalaGenerationConfig(); config.setSourceDirectory("src/main/jsonschema"); config.setTargetDirectory("target/generated-resources"); StreamsScalaSourceGenerator generator = new StreamsScalaSourceGenerator(config); generator.run();