I need it to create the Workspace Template in xwiki-enterprise-ui, that I attach to WorkspaceManager.Install.
But I can't add xwiki-enterprise-workspace-ui as a dependency of xwiki-enterprise-ui because I don't want to have its pages in the enterprise-ui XAR.

What should I do?