https://github.com/yogthos/clojure-maven-examples
Some examples for building Clojure with the clojure-maven-plugin
https://github.com/yogthos/clojure-maven-examples
Last synced: 8 months ago
JSON representation
Some examples for building Clojure with the clojure-maven-plugin
- Host: GitHub
- URL: https://github.com/yogthos/clojure-maven-examples
- Owner: yogthos
- Created: 2009-08-30T20:00:13.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2014-04-24T04:03:47.000Z (over 11 years ago)
- Last Synced: 2025-03-31T08:51:12.911Z (10 months ago)
- Language: Clojure
- Homepage:
- Size: 3.26 MB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
In order to setup a Clojure project with Maven 2, you need to follow these steps:
1. Get a copy of Maven installed (http://maven.apache.org/)
The first project we have is a sample Swing application that renders a Mandelbrot set.
The project can be run as follows:
```
mvn clean install && java -jar target/mandelbrot-example-1.0.jar
```
The second example is a simple web application based on the Servlet 2.5 specification, you can drop the resulting war on an Tomcat or Glassfish to see the result.
The project can be compiled as follows:
```
mvn clean install
```
Hopefully, Both projects are fairly self explanatory and help you get started.