aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2010-01-20 16:32:00 -0500
committerStuart Sierra <mail@stuartsierra.com>2010-01-20 16:32:00 -0500
commite954be5dff863556fdfac4787c4a736592ccf740 (patch)
tree7fb196ce6f8f322beb43ebe35715fe82b80b2df7
parentdb3bb48c0155a97aa1401892901c06f7f5f0880d (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.xml47
1 files changed, 38 insertions, 9 deletions
diff --git a/pom.xml b/pom.xml
index 373efb96..b6fe7844 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>