Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add test.generative as a test dependency

Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  • Loading branch information...
commit a61a7031ec7a21852cc93cb1a1d16c14aaedbc2c 1 parent ba3bf83
@stuarthalloway stuarthalloway authored
Showing with 15 additions and 1 deletion.
  1. +1 −0  antsetup.sh
  2. +1 −1  build.xml
  3. +13 −0 pom.xml
View
1  antsetup.sh
@@ -3,5 +3,6 @@
mvn -q dependency:build-classpath -Dmdep.outputFile=maven-classpath
cat <<EOF >maven-classpath.properties
maven.compile.classpath=`cat maven-classpath`
+maven.test.classpath=`cat maven-classpath`
EOF
echo "Wrote maven-classpath.properties for standalone ant use"
View
2  build.xml
@@ -102,7 +102,7 @@
unless="maven.test.skip">
<java classname="clojure.main" failonerror="true" fork="true">
<classpath>
- <pathelement path="${maven.compile.classpath}"/>
+ <pathelement path="${maven.test.classpath}"/>
<path location="${test-classes}"/>
<path location="${test}"/>
<path location="${build}"/>
View
13 pom.xml
@@ -45,6 +45,18 @@
<version>1.7.0</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.clojure</groupId>
+ <artifactId>test.generative</artifactId>
+ <version>0.1.5</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
<build>
@@ -94,6 +106,7 @@
</goals>
<configuration>
<target>
+ <property name="maven.test.classpath" refid="maven.test.classpath" />
<ant target="test" />
</target>
</configuration>
Please sign in to comment.
Something went wrong with that request. Please try again.