aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2010-01-29 15:00:12 -0500
committerStuart Sierra <mail@stuartsierra.com>2010-01-29 15:00:12 -0500
commit66870bf5f01ae0a32bf8af32d548833816d75166 (patch)
tree165392fb33e1ac7e3e0243e7c0ee666dd6063c0d
parent436fef00c308ed0dd52b1d93dd48e97861432998 (diff)
Simplify POM, only AOT-compile namespaces that gen-class
Binary incompatibility of AOT-compiled namespaces makes it desirable to avoid compilation except when needed for gen-class. Also fixes problem of the compilation order being non-deterministic, depending on the underlying filesystem.
-rw-r--r--pom.xml71
1 files changed, 28 insertions, 43 deletions
diff --git a/pom.xml b/pom.xml
index e5561893..f85e6fc7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,6 +14,7 @@
<version>1.2.0-SNAPSHOT</version>
<url>http://clojure.org/</url>
<description>Clojure user contributions library.</description>
+ <name>${artifactId}</name>
<licenses>
<license>
<name>Eclipse Public License 1.0</name>
@@ -21,47 +22,33 @@
<distribution>repo</distribution>
</license>
</licenses>
- <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>local</id>
- <activation>
- <property>
- <name>env</name>
- <value>local</value>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.clojure</groupId>
- <artifactId>clojure</artifactId>
- <version>${clojure.version}</version>
- <scope>system</scope>
- <systemPath>${clojure.jar}</systemPath>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
+ <dependencies>
+ <dependency>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure</artifactId>
+ <version>${clojure.version}</version>
+ </dependency>
+ </dependencies>
<repositories>
<repository>
<id>clojure-snapshots</id>
<url>http://build.clojure.org/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
</repository>
<repository>
<id>clojure-releases</id>
- <url>http://build.clojure.org/releases</url>
+ <url>http://build.clojure.org/snapshots</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
<build>
@@ -82,13 +69,15 @@
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
- <version>1.3.1</version>
<configuration>
+ <compileDeclaredNamespaceOnly>true</compileDeclaredNamespaceOnly>
<namespaces>
- <namespace>!clojure\.contrib\.javadoc</namespace>
- <namespace>!clojure\.contrib\.logging</namespace>
- <namespace>!clojure\.contrib\.load-all</namespace>
- <namespace>!clojure\.contrib\.pprint</namespace>
+ <namespace>clojure\.contrib\.jmx\.Bean</namespace>
+ <namespace>clojure\.contrib\.fnmap\.PersistentFnMap</namespace>
+ <namespace>clojure\.contrib\.conditition\.Condition</namespace>
+ <namespace>clojure\.contrib\.repl-ln</namespace>
+ <namespace>clojure\.contrib\.pprint\.ColumnWriter</namespace>
+ <namespace>clojure\.contrib\.pprint\.PrettyWriter</namespace>
</namespaces>
</configuration>
<executions>
@@ -123,9 +112,5 @@
<id>clojure-releases</id>
<url>scp://build.clojure.org/srv/www/releases</url>
</repository>
- <snapshotRepository>
- <id>clojure-snapshots</id>
- <url>scp://build.clojure.org/srv/www/snapshots</url>
- </snapshotRepository>
</distributionManagement>
</project>