Excerpt |
---|
Description in how to compile the Bitrepository source |
Build phases
See Introduction to the Build Lifecycle for details
Compile
Code Block |
---|
mvn compile |
Package
Code Block |
---|
mvn package
|
Message class generation
Note: Because the protocol module uses the message-xml module packaged jar, a mvn packageinstall 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 all be done automatically when mvn is run from the parent project.