final String defaultState = getProperties().getWorkspaceDefaultState();
final String wn = getProperties().getJcrDefaultWorkspace();
final SitePlugin sp = SitePlugin.get(brix);
if (!sp.siteExists(wn, defaultState)) {
Workspace w = sp.createSite(wn, defaultState);
JcrSession session = brix.getCurrentSession(w.getId());
session.importXML("/", getClass().getResourceAsStream("workspace.xml"),
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);