mirror of https://github.com/apache/maven.git
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:
parent
fe69e3204b
commit
3b1f894e37
|
@ -199,6 +199,7 @@ public class SurefirePlugin
|
|||
// ----------------------------------------------------------------------
|
||||
|
||||
System.setProperty( "basedir", basedir );
|
||||
System.setProperty( "localRepository", localRepository.getBasedir() );
|
||||
|
||||
// Add all system properties configured by the user
|
||||
if ( systemProperties != null )
|
||||
|
|
Loading…
Reference in New Issue