Skip to content

Commit a61a703

Browse files
add test.generative as a test dependency
Signed-off-by: Stuart Halloway <[email protected]>
1 parent ba3bf83 commit a61a703

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

antsetup.sh

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
mvn -q dependency:build-classpath -Dmdep.outputFile=maven-classpath
44
cat <<EOF >maven-classpath.properties
55
maven.compile.classpath=`cat maven-classpath`
6+
maven.test.classpath=`cat maven-classpath`
67
EOF
78
echo "Wrote maven-classpath.properties for standalone ant use"

build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
unless="maven.test.skip">
103103
<java classname="clojure.main" failonerror="true" fork="true">
104104
<classpath>
105-
<pathelement path="${maven.compile.classpath}"/>
105+
<pathelement path="${maven.test.classpath}"/>
106106
<path location="${test-classes}"/>
107107
<path location="${test}"/>
108108
<path location="${build}"/>

pom.xml

+13
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@
4545
<version>1.7.0</version>
4646
<scope>provided</scope>
4747
</dependency>
48+
<dependency>
49+
<groupId>org.clojure</groupId>
50+
<artifactId>test.generative</artifactId>
51+
<version>0.1.5</version>
52+
<scope>test</scope>
53+
<exclusions>
54+
<exclusion>
55+
<groupId>org.clojure</groupId>
56+
<artifactId>clojure</artifactId>
57+
</exclusion>
58+
</exclusions>
59+
</dependency>
4860
</dependencies>
4961

5062
<build>
@@ -94,6 +106,7 @@
94106
</goals>
95107
<configuration>
96108
<target>
109+
<property name="maven.test.classpath" refid="maven.test.classpath" />
97110
<ant target="test" />
98111
</target>
99112
</configuration>

0 commit comments

Comments
 (0)