if (license.isOsiApproved()) {
<BUG>osiLicense = true;
}</BUG>
}
<BUG>document.addKeyword("license", licenseNames);
document.addKeyword("osi-approved-license", String.valueOf(osiLicense));
document.addText("shortDescription", shortDescription);
document.addText("longDescription", longDescription);
document.addText("changeLog", changeLog);
document.addText("pageURL", pageURL);
document.addKeyword("repositoryURL", repositoryURL);
document.addKeyword(Field.STATUS, status);
document.addKeyword("installedVersion", installedVersion);</BUG>
return document;

document.addKeyword("tag", tags.toArray(new String[0]));
List<String> types = pluginPackage.getTypes();
document.addKeyword("type", types.toArray(new String[0]));
document.addKeyword("version", pluginPackage.getVersion());
return document;
