Create a JAR package
Making a JAR file is fairly simple and can be accomplished by executing the following command inside the XBee Java Library directory:
#> mvn clean package
The command compiles all the sources, executes the unit tests, and creates a JAR file for the library and every sample inside the target directory in the root of the the XBee Java Library folder.