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