]> source.dussan.org Git - jgit.git/commitdiff
Fix running maven http tests on OS X 44/13844/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 16 Jun 2013 09:28:36 +0000 (11:28 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 16 Jun 2013 21:07:27 +0000 (23:07 +0200)
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

org.eclipse.jgit.http.test/pom.xml

index 902d2ed2a01885895204bb159fb7108f8b54b162..65ad7ee0d5548a65392909395daede3f39f5a213 100644 (file)
         <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>