This content has been marked as final.
Show 1 reply
-
1. Re: JCR REST API via Tomcat
hchiorean Nov 4, 2014 8:03 AM (in response to janpetzold)1 of 1 people found this helpfulOutside 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