Affects Version/s: 2.2
Fix Version/s: None
Trying to exclude files using the exec-war-only goal of the tomcat7-maven-plugin does not actually exclude anything. Instead, matched exclude directives should exclude matching files. For example:
Does not prevent META-INF/MSFTSIG.RSA from being included in the WAR.
The problem looks to be in AbstractExecWarMojo.extractJarToArchive. There is an inner for loop with a continue statement that has no effect. Instead, the statement should be changed to continue on the outer while loop.
This issue was raised because of the following Stack Overflow question: http://stackoverflow.com/questions/29686124/how-do-i-exclude-extradependency-meta-inf-files-for-exec-war-goal