Dev/maven/plugin/styx

Protocol Generator Plugin
The protocol generator plugin is used for generating source code from a protocol.xml file, as specified by the StyxProtocol?. The plugin currently takes the following parameters:


 * protocol_file
 * The name of the protocol file.


 * language
 * The language to generate, available values are: ' ', ' ' and ' '.


 * package_name
 * The package to put the generated files in


 * output_dir (DEPRECATED since 1.7-SNAPSHOT)
 * Where to put the generated code. This will be deprecated in future versions.


 * output_base_dir
 * Base directory for the generated code. Default is target/jruby-protocol-plugin/generated-sources. The generated source will be generated to / /.


 * generate_visitors
 * Should be set to true. This will be deprecated in future versions.


 * fail_on_bad_packet_order
 * defaults to false, if true fail the build if the XML protocol specification declares packets out of order that will generate compile errors in C++

Example usage (pom snippet):
...        maven-compiler-plugin 1.5         com.cubeia protocol-generator-plugin 1.7-SNAPSHOT src/main/resources/firebase-protocol.xml java com.cubeia.firebase.io.protocol true true generate-sources generate <pluginRepositories> <pluginRepository> <id>cubeia-plugin-repo</id> https://secure.cubeia.com/repo/maventest true true </pluginRepository> </pluginRepositories> com.cubeia.firebase</groupId> styx</artifactId> 1.5   ...

'''Note that the pluginRepository is needed! Also, the Styx dependency is essential.'''