MNG-813: Expose the m2 local repository location to the junit tests using the "localRepository" system property.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vincent Massol 2005-08-31 20:49:49 +00:00
parent fe69e3204b
commit 3b1f894e37
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ public class SurefirePlugin
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
System.setProperty( "basedir", basedir ); System.setProperty( "basedir", basedir );
System.setProperty( "localRepository", localRepository.getBasedir() );
// Add all system properties configured by the user // Add all system properties configured by the user
if ( systemProperties != null ) if ( systemProperties != null )