Building
Description in how to compile the Bitrepository source
Build phases
See Introduction to the Build Lifecycle for details
Compile
mvn compile
Package
mvn package
Message class generation
Note: Because the protocol module uses the message-xml module packaged jar, a mvn install needs to be run on the message-xml module (or the full project), before the protocol module can find the xsd's it will try to generate message classes from. The sequence is:
- Message-xml packaging: Creates a jar with the xsd's
- Message-xml install: Copies the jar to the local maven repository
- Protocol: generate-source: Extracts the xsd's from the Message-jar to the target/message-xml dir
- Protocol: process-sources: Generates the message classes in the target/generated-sources/xjc dir
This will also work if mvn install is run from the parent project.