publish-workbench-jar only needs to build workbench, not workbench-dist.  The workbench-dist targets brings in the mondrianschemaworkbench-plugin, which introduces a circular dependency if it's required for publishing.