summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2013-06-16 11:28:36 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2013-06-16 23:07:27 +0200
commit4045e7e9c4eb16d6fd48b712facb7fb2ec6b7e94 (patch)
treea3de8b804bad7a5c63cae7f9ecf86d030e1a6981
parent01ebfa6c17087506f612dccf1038051b6a06365d (diff)
downloadjgit-4045e7e9c4eb16d6fd48b712facb7fb2ec6b7e94.tar.gz
jgit-4045e7e9c4eb16d6fd48b712facb7fb2ec6b7e94.zip
Fix running maven http tests on OS X
In 36144e12d8 tests were changed to use the system tmp directory as defined by java.io.tmpdir, which was then overridden in the pom files to usea custom directory that made som tests work, but not all. Change-Id: I2fa04878f8830ad9c9b32a6f3fe8d2e2d66fe411
-rw-r--r--org.eclipse.jgit.http.test/pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.test/pom.xml b/org.eclipse.jgit.http.test/pom.xml
index 902d2ed2a0..65ad7ee0d5 100644
--- a/org.eclipse.jgit.http.test/pom.xml
+++ b/org.eclipse.jgit.http.test/pom.xml
@@ -111,5 +111,13 @@
<directory>tst-rsrc/</directory>
</testResource>
</testResources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Djava.io.tmpdir=${project.build.directory}</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>