1 of 1 people found this helpful
Outside of Wildfly/EAP the REST service has to be deployed as part of a WAR application (which contains the appropriate artifacts). We're using this module: modeshape/web/modeshape-web-jcr-rest-war at master · ModeShape/modeshape · GitHub to unit test (via Jetty) our REST service. So you should look at that for the required dependencies/configuration.
You have a couple of options:
- create a similar module (with the required dependencies - see above) in your own project.
- use the above artifact directly from Maven and overlay your own repository-config.json (the default one we use for testing) and/or web.xml