// also scan for any "packageinfo" files lurking in the source folders
List<String> packageInfoIncludes = Collections.singletonList("**/packageinfo");
for (String sourceRoot : currentProject.getSources()) {
MavenResource packageInfoResource = new MavenResource(sourceRoot, false, null, packageInfoIncludes, null);
resources.add(packageInfoResource);
}
return resources;
}