@Override
	public List<ModuleDefinition> findDefinitions() {
		List<ModuleDefinition> result = new ArrayList<>();
		try {
			for (Resource resource : getResources("*", "*", "")) {
				collect(resource, result);
			}
		}
		catch (IOException e) {
			return Collections.emptyList();
		}
		return result;
	}
Whether to require the presence of a hash file for archives. Helps preventing half-uploaded archives from being
picked up.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/module/ResourceModuleRegistry.java