}
protected void checkResources(List<Resource> resources, String moduleName,
String moduleVersion, String rootDirectoryPath, String resourceType) {
if (resources == null || resources.isEmpty()) {
throw new InvalidStateException("Unable to find any " + resourceType + " resources in workspace root directory '"
+ PathUtils.getAbsolutePath(rootDirectoryPath)
+ "' for module named '" + moduleName
+ "' with version '" + moduleVersion + "'");
}
}