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