You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I posed a question on StackOverflow about how to detect when multiple resource folders contain a resource of the same name, within the same project. I thought that sort of thing was out of scope for this plugin, but this answer claims it's exactly what this plugin is supposed to detect. So, I'm filing this issue to find out who's right, and if khmarbaise, then get this fixed. :)
A simple test case looks like this (reproduced from the SO question):
I answered the question on Stack overflow. The short answer is "the plugin works on the classpath and you have duplicates in the source folders". The slightly longer answer is that the plugin can detect this case if one file is in src/main/resources and one is in src/test/resources but nothing else. In your case, the plugin executes after the files have been copied into target/classes and there, only a single copy exists.
I added an integration test to ensure the main/test behavior. It passes. :-)
I posed a question on StackOverflow about how to detect when multiple resource folders contain a resource of the same name, within the same project. I thought that sort of thing was out of scope for this plugin, but this answer claims it's exactly what this plugin is supposed to detect. So, I'm filing this issue to find out who's right, and if khmarbaise, then get this fixed. :)
A simple test case looks like this (reproduced from the SO question):
The text was updated successfully, but these errors were encountered: