Author: vmassol
Date: Wed Aug 31 13:49:49 2005
New Revision: 265582
URL: http://svn.apache.org/viewcvs?rev=265582&view=rev
Log:
MNG-813: Expose the m2 local repository location to the junit tests using the
"localRepository" system property.
Modified:
maven/components/trunk/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java
Modified:
maven/components/trunk/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java?rev=265582&r1=265581&r2=265582&view=diff
==============================================================================
---
maven/components/trunk/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java
(original)
+++
maven/components/trunk/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java
Wed Aug 31 13:49:49 2005
@@ -199,6 +199,7 @@
//
----------------------------------------------------------------------
System.setProperty( "basedir", basedir );
+ System.setProperty( "localRepository", localRepository.getBasedir() );
// Add all system properties configured by the user
if ( systemProperties != null )
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]