}
}
ConfigurationData data = configStore.loadConfiguration(moduleId);
PluginType meta = new PluginType();
PluginArtifactType instance = new PluginArtifactType();
meta.getPluginArtifact().add(instance);
meta.setName(toArtifactType(moduleId).getArtifactId());
instance.setModuleId(toArtifactType(moduleId));
meta.setCategory("Unknown");
instance.getGeronimoVersion().add(serverInfo.getVersion());
instance.getObsoletes().add(toArtifactType(new Artifact(moduleId.getGroupId(),
moduleId.getArtifactId(),
(Version) null,
moduleId.getType())));
List<DependencyType> deps = instance.getDependency();
addGeronimoDependencies(data, deps, true);
return meta;
}