It's possible to use CONGO with the JSimone? webrunner plugin. This allows for a very fast startup and locally instantiated application.
- Follow the steps for a Maven checkout and build
- Instead of using the mvn command line for invoking Jetty, use the webrunner tool to invoke a tomcat container:
- java -jar target/dependency/webapp-runner.jar target/*.war
- This allows for easy parameter passing to setting any of the variables that would normally be int he congo.properties file:
- java -Dpropertiesfile=something -Denvironment=testing -Dcongo.jdbcurl=jdbc:mysql://localhost/yoinksandaway -jar target/dependency/webapp-runner.jar target/*.war