...
2) Checkout the source code from http://scm.dspace.org/svn/repo/modules/dspace-rest/trunk/ into the new directory.
3) Incorporate the new module into your project by adding a new <module> element for dspace-rest to the 'all' profile in dspace-src/pom.xml.
...