aboutsummaryrefslogtreecommitdiff
path: root/modules/parent/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/parent/pom.xml')
-rw-r--r--modules/parent/pom.xml93
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>