code: protected String getGroupId(String groupId) {
          return this.groupId == null || this.groupId.length() == 0
                  ? groupId
                  : this.groupId;
      }
docs: Returns the group id to use.
  
  @param groupId The current project's group id.
  @return The group id to use.