To build the examples first ensure that the main source tree has been built using 'mvn install'. Then here: mvn compile If you want to run the examples as unit tests then: mvn test