o tear down to keep the heap down

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774505 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-05-13 20:08:44 +00:00
parent e4ad3f01d5
commit af6c8da5f0
1 changed files with 10 additions and 1 deletions

View File

@ -56,6 +56,15 @@ public abstract class AbstractMavenProjectTestCase
}
}
@Override
protected void tearDown()
throws Exception
{
projectBuilder = null;
super.tearDown();
}
protected MavenProjectBuilder getProjectBuilder()
{
return projectBuilder;
@ -113,7 +122,7 @@ public abstract class AbstractMavenProjectTestCase
{
ProjectBuilderConfiguration configuration = new DefaultProjectBuilderConfiguration();
configuration.setLocalRepository( getLocalRepository() );
configuration.setRemoteRepositories( Arrays.asList( new ArtifactRepository[]{} ) );
configuration.setRemoteRepositories( Arrays.asList( new ArtifactRepository[] {} ) );
configuration.setProcessPlugins( false );
try