o fix my hardcoding

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720527 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2008-11-25 16:18:48 +00:00
parent 38029c20e2
commit 39757352e6
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class BuildExtensionListenerTest
MavenProject project = new MavenProject( model ); MavenProject project = new MavenProject( model );
ReactorManager rm = new ReactorManager( Collections.singletonList( project ), ReactorManager.FAIL_FAST ); ReactorManager rm = new ReactorManager( Collections.singletonList( project ), ReactorManager.FAIL_FAST );
MavenExecutionRequest request = new DefaultMavenExecutionRequest(); MavenExecutionRequest request = new DefaultMavenExecutionRequest();
request.setLocalRepositoryPath( new File( "/Users/jvanzyl/.m2/repository" ) ); request.setLocalRepositoryPath( new File( System.getProperty( "user.home" ), ".m2/repository" ) );
MavenSession session = new MavenSession( getContainer(), request, new DefaultEventDispatcher(), rm ); MavenSession session = new MavenSession( getContainer(), request, new DefaultEventDispatcher(), rm );
return session; return session;