DefaultModelBuildingListener listener =
new DefaultModelBuildingListener( standaloneProject, projectBuildingHelper, config );
request.setModelBuildingListener( listener );
request.setModelSource( new UrlModelSource( getClass().getResource( "standalone.xml" ) ) );
ModelBuildingResult result;
try
{
result = modelBuilder.build( request );