I have maven projects, let me call it A, which has a dependency on two projects maven B, C. Both B and C have a file in resources with the same name, let them say x.xml. I want to exclude this x.xml from B (I do not want to write to exclude it from B jar in M2) jar when creating A War. means that he must be present in Bank B, but when this bank is copied into War, it should not be available. Is it possible?
maven maven-2 maven-3
gajendra kumar
source share