Collection<String> (MavenProject mavenProject) { Element config = mavenProject.getPluginConfiguration("org.apache.maven.plugins", "maven-resources-plugin"); if (config == null) { return Collections.emptySet(); } final List<String> customNonFilteredExtensions = MavenJDOMUtil.findChildrenValuesByPath(config, "nonFilteredFileExtensions", "nonFilteredFileExtension"); if (customNonFilteredExtensions.isEmpty()) { return Collections.emptySet(); } return Collections.unmodifiableList(customNonFilteredExtensions); }