You can build and install the module locally first in the project root folder.
$ mvn clean install
And you can build and run the Demo project:
$ cd demo
$ mvn clean verify && mvn -Pcargo.run
In the demo project, there are three test classes in the site/components submodule:
EssentialsListComponentTest: HST Component TestJaxrsTest: Plain JAX-RS RESTful API TestPageModelTest: Delivery Page Model API TestRunning the tests in the demo project:
$ cd demo
$ mvn test