public String[] listModules(String org) {
List mods = new ArrayList();
for (Iterator iter = settings.getResolvers().iterator(); iter.hasNext();) {
DependencyResolver resolver = (DependencyResolver) iter.next();
ModuleEntry[] entries = resolver.listModules(new OrganisationEntry(resolver, org));
if (entries != null) {
for (int i = 0; i < entries.length; i++) {
if (entries[i] != null) {
mods.add(entries[i].getModule());
}