Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Basic Clojure Maven Archetype
Shell Clojure
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/main/resources
.gitignore
README
cljproject
pom.xml

README

clojure-archetype

Installation:

Clone the git repo and run:

mvn install

This will install the maven archetype in your local maven repository.

Usage:

Copy the cljproject file to a location in your path.  Run the following to create a new clojure project:

cljproject {groupId} {artifactId}

where {groupId} {artifactId} corresponds to the maven group and artifact ids respectively.  A new directory named by {artifactId} will be created and a template clojure project will be there referencing the following:

clojure-1.3.0
swank-clojure-1.3.0

A single "Hello World" clj file will be created (src/main/clojure/app.clj) containing a -main fn.
A single test file called runtests.clj will be created: scripts/runtests.clj
Something went wrong with that request. Please try again.