code: public CmsUUID publishResource(CmsObject cms, String resourcename) throws Exception {
  
          return publishResource(cms, resourcename, false, new CmsShellReport(cms.getRequestContext().getLocale()));
      }
docs: Publishes a single resource, printing messages to a shell report.<p>
  
  The siblings of the resource will not be published.<p>
  
  @param cms the cms request context
  @param resourcename the name of the resource to be published
  
  @return the publish history id of the published project
  
  @throws Exception if something goes wrong
  
  @see CmsShellReport