Skip to content
Browse files

Fix parent POM

  • Loading branch information...
1 parent 95b2148 commit e8db3a36b1154167261aed5e07cda6c5c12b6c0e @stuartsierra stuartsierra committed
Showing with 81 additions and 12 deletions.
  1. +81 −12 modules/parent/pom.xml
View
93 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>

0 comments on commit e8db3a3

Please sign in to comment.
Something went wrong with that request. Please try again.