docs: public void publishResources(List<CmsResource> resources) throws CmsException {
  
          CmsObject cms = m_cms;
          I_CmsReport report = new CmsWorkplaceReport(
              cms.getRequestContext().getLocale(),
              cms.getRequestContext().getSiteRoot(),
              null);
          CmsPublishManager publishManager = OpenCms.getPublishManager();
          CmsPublishList publishList = publishManager.getPublishListAll(m_cms, resources, false, true);
          OpenCms.getPublishManager().publishProject(m_cms, report, publishList);
      }