Scala + Spring + Hibernate + Maven + Selenium WebDriver
This project contains source code for kickstarting a webapp project using the latest versions of Scala, Spring, Hibernate and Maven, including Selenium WebDriver PageObject-based web tests.
Versions currently used in the project are:
The code also makes use of HSQLDB, but you'll probably want to replace that with the JDBC driver for whatever database you're using.
Building and Running
Assuming you already have Maven installed, the webapp can be built by running:
mvn clean install
The webapp can be run inside Jetty using the Maven plugin:
An Eclipse project will be generated with all the correct natures in it by running:
Conditions of Usage
This code is in the public domain and may be used in any way you see fit, with the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.