Skip to content
talios edited this page Sep 13, 2010 · 3 revisions

Welcome to the clojure-maven-example wiki!

This is a simple example maven project showing how to use the clojure-maven-plugin.

The repository has three examples separated by tags:

  • step1 – Basic pom.xml and a simple test script. Run “mvn test” to run the test.
  • step2 – The compojure frameworks repository is included as a git submodule and a simple web application added to the project. Run “git-submodule init” to pull in the new repository, followed by “mvn clojure:run” to execute the run script identified by the ‘script’ pom.xml element.
  • step3 – An automated test for compojure is added, for this – the clojure-http-client project is pulled in as a submodule. Rerun “git-submodule init” followed by “mvn test”.
Clone this wiki locally