mirror of https://github.com/apache/maven.git
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:
parent
38029c20e2
commit
39757352e6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue