aboutsummaryrefslogtreecommitdiffstats
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-08-21 14:44:46 +0200
commit423f7227cdd5f4ff9607daf063d15c2b290aa5b8 (patch)
treee08ede0e78b7b8875632a8d243aa523fb5f0a50b
parentec2202f563b56e55c7e18e36edc0a64aab0d9d26 (diff)
downloadjgit-423f7227cdd5f4ff9607daf063d15c2b290aa5b8.tar.gz
jgit-423f7227cdd5f4ff9607daf063d15c2b290aa5b8.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 4614d63cef..31382bcc6c 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>