Set a name for the container

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2007-08-28 00:27:39 +00:00
parent 959ce3f30f
commit 454114df03
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ public class MavenEmbedder
try
{
ContainerConfiguration cc = new DefaultContainerConfiguration()
.setClassWorld( classWorld ).setParentContainer( configuration.getParentContainer() );
.setClassWorld( classWorld ).setParentContainer( configuration.getParentContainer() ).setName( "embedder" );
container = new DefaultPlexusContainer( cc );
}