diff options
-rw-r--r-- | README.txt | 5 | ||||
-rw-r--r-- | pom.xml | 20 |
2 files changed, 4 insertions, 21 deletions
@@ -68,9 +68,10 @@ to the mvn command line. If you want to compile/build with a customized clojure.jar file, use the following command: - mvn package -Dclojure.jar=/path/to/clojure.jar + mvn -Denv=local -Dclojure.jar=/path/to/clojure.jar package -The /path/to/clojure.jar MUST be an absolute path. +The /path/to/clojure.jar MUST be an absolute path. It defaults to +${current-dir}/../clojure/clojure.jar if you do not specify it. @@ -5,6 +5,7 @@ http://maven.apache.org/maven-v4_0_0.xsd"> <properties> <clojure.version>1.2.0-master-SNAPSHOT</clojure.version> + <clojure.jar>${basedir}/../clojure/clojure.jar</clojure.jar> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <modelVersion>4.0.0</modelVersion> @@ -50,25 +51,6 @@ </snapshots> </repository> </repositories> - <profiles> - <profile> - <id>local</id> - <activation> - <property> - <name>clojure.jar</name> - </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> <build> <resources> <resource> |