HashMap<String, Map<String, String>> mods = new HashMap<String, Map<String, String>>();
for (String moduleName : moduleService.listModules()) {
Configuration cfg = moduleService.getModuleConfiguration(moduleName).getConfiguration();
if (cfg != null) {
ModuleConfiguration mCfg = new ModuleConfiguration(cfg);
if (mCfg.hasBuildInfo()) {
Map<String, String> result = new LinkedHashMap<String, String>();
result.put("id", mCfg.getModuleId());
result.put("version", mCfg.getModuleVersion());
result.put("timestamp", mCfg.getBuildTimestamp());
result.put("revNumber", mCfg.getBuildRevisionNumber());
result.put("revHash", mCfg.getBuildRevisionHash());
result.put("user", mCfg.getBuildUser());
result.put("host", mCfg.getBuildHost());
result.put("os", mCfg.getBuildOS());
final List<String> adminPages = moduleService.getAdminPages(moduleName);
if (adminPages != null && adminPages.size() > 0 && adminPages.get(0).trim().length() > 0) {
result.put("admin",
moduleService.getModuleWeb(moduleName) +