...
The first thing to do is to read through the conventions section on the REST Web Services API For Clients page. Your module should follow similar conventions.
...
Getting the REST Web Services Jar into your project
See Requiring another module in your module
You will need to check out the webservices.rest project and mvn clean install it to make it available to your module project. You will also need to add a few dependencies in your module's pom.xml files:
...