I have 2 projects. Project #1 is a maven java project. Project #2 is a maven web project. Project #2 has a dependency to Project #1. When I first deploy the web project as exploded, no test resources are copied to WEB-INF/classes on the app server (good). However, if I modify a test resource in Project #1, that test resource is then copied to WEB-INF/classes on the app server (bad). My deployment assemblies do not include any of the test sources.
Any workarounds to this?