diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2010-12-19 10:43:09 -0500 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2010-12-19 10:43:09 -0500 |
commit | e8db3a36b1154167261aed5e07cda6c5c12b6c0e (patch) | |
tree | 93252943da69981f6de54ecdd43f83c92fc14f72 | |
parent | 95b21488d7e67ab825bd7f472ab77892dde964ed (diff) |
Fix parent POM
-rw-r--r-- | modules/parent/pom.xml | 93 |
1 files changed, 81 insertions, 12 deletions
diff --git a/modules/parent/pom.xml b/modules/parent/pom.xml index 4a9fa7f9..c879e4ac 100644 --- a/modules/parent/pom.xml +++ b/modules/parent/pom.xml @@ -6,19 +6,88 @@ <version>1.3.0-SNAPSHOT</version> <packaging>pom</packaging> <name>Clojure Contrib parent module</name> + <properties> + <clojure.version>1.3.0-master-SNAPSHOT</clojure.version> + </properties> - <dependencies> - <dependency> - <groupId>org.clojure</groupId> - <artifactId>clojure</artifactId> - <version>1.3.0-master-SNAPSHOT</version> - </dependency> - </dependencies> - <scm> - <connection>scm:git:git@github.com:clojure/clojure-contrib.git</connection> - <developerConnection>scm:git:git@github.com:clojure/clojure-contrib.git</developerConnection> - <url>git@github.com:clojure/clojure-contrib.git</url> - </scm> + <build> + <resources> + <resource> + <directory>src/main/clojure</directory> + </resource> + <resource> + <directory>src/examples/clojure</directory> + </resource> + </resources> + <testResources> + <testResource> + <directory>src/test/clojure</directory> + </testResource> + </testResources> + <plugins> + <plugin> + <groupId>com.theoryinpractise</groupId> + <artifactId>clojure-maven-plugin</artifactId> + <version>1.3.3</version> + <configuration> + <compileDeclaredNamespaceOnly>true</compileDeclaredNamespaceOnly> + <namespaces> + <!-- By default, do not AOT-compile anything. + Individual modules may override this. --> + <namespace>!.*</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> + <profiles> + <profile> + <id>default</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <dependencies> + <dependency> + <groupId>org.clojure</groupId> + <artifactId>clojure</artifactId> + <version>${clojure.version}</version> + </dependency> + </dependencies> + </profile> + <profile> + <id>custom-clojure</id> + <activation> + <property> + <name>clojure.jar</name> + </property> + </activation> + <dependencies> + <dependency> + <groupId>org.clojure</groupId> + <artifactId>clojure</artifactId> + <version>CUSTOM</version> + <scope>system</scope> + <systemPath>${clojure.jar}</systemPath> + </dependency> + </dependencies> + </profile> + </profiles> <repositories> <repository> <id>clojure-snapshots</id> |