code: private void addInfoElements(Element infoElement)
      {
          Element el = new DOMElement("name");
          el.addText(this.project.getName());
          infoElement.add(el);
  
          el = new DOMElement("description");
          String description = this.project.getDescription();
          if (description == null) {
              el.addText("");
          } else {
              el.addText(description);
          }
          infoElement.add(el);
  
          el = new DOMElement("licence");
          el.addText("");
          infoElement.add(el);
  
          el = new DOMElement("author");
          el.addText("XWiki.Admin");
          infoElement.add(el);
  
          el = new DOMElement("extensionId");
          el.addText(this.project.getGroupId() + ':' + this.project.getArtifactId());
          infoElement.add(el);
  
          el = new DOMElement("version");
          el.addText(this.project.getVersion());
          infoElement.add(el);
  
          el = new DOMElement("backupPack");
          el.addText("false");
          infoElement.add(el);
      }
docs: Add all the XML elements under the &lt;info&gt; element (name, description, license, author, version and whether
  it's a backup pack or not).
  
  @param infoElement the info element to which to add to