diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2010-01-20 16:32:00 -0500 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2010-01-20 16:32:00 -0500 |
commit | e954be5dff863556fdfac4787c4a736592ccf740 (patch) | |
tree | 7fb196ce6f8f322beb43ebe35715fe82b80b2df7 | |
parent | db3bb48c0155a97aa1401892901c06f7f5f0880d (diff) |
Add build instructions to POM.
This does not yet include deployment
or custom packaging such as a slim JAR
or release ZIP. These can be added.
-rw-r--r-- | pom.xml | 47 |
1 files changed, 38 insertions, 9 deletions
@@ -6,11 +6,9 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.clojure</groupId> <artifactId>clojure-contrib</artifactId> - <version>1.0-SNAPSHOT</version> + <version>1.2.0-SNAPSHOT</version> <url>http://clojure.org/</url> - <description>Clojure user contributions library.</description> - <licenses> <license> <name>Eclipse Public License 1.0</name> @@ -18,22 +16,53 @@ <distribution>repo</distribution> </license> </licenses> - <dependencies> <dependency> <groupId>org.clojure</groupId> <artifactId>clojure</artifactId> - <version>1.1.0-master-SNAPSHOT</version> + <version>1.2.0-master-SNAPSHOT</version> </dependency> </dependencies> - - <!-- Source of Clojure snapshot dependencies. --> - <repositories> <repository> <id>clojure-snapshots</id> <url>http://build.clojure.org/snapshots</url> </repository> + <repository> + <id>clojure-releases</id> + <url>http://build.clojure.org/releases</url> + </repository> </repositories> - + <build> + <plugins> + <plugin> + <groupId>com.theoryinpractise</groupId> + <artifactId>clojure-maven-plugin</artifactId> + <version>1.3.1</version> + <configuration> + <namespaces> + <namespace>!clojure\.contrib\.javadoc</namespace> + <namespace>!clojure\.contrib\.logging</namespace> + <namespace>!clojure\.contrib\.load-all</namespace> + </namespaces> + </configuration> + <executions> + <execution> + <id>compile-clojure</id> + <phase>compile</phase> + <goals> + <goal>compile</goal> + </goals> + </execution> + <execution> + <id>test-clojure</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> |