I am using MyEclipse 7.1.1 and have run into a problem with test code. I have two projects, MYJAR and MYWAR (not really what they are named, but you get the point). MYWAR utilizes MYJAR through a maven dependency. When I deploy MYWAR to jboss, I see that it contains all of the test code defined in MYJAR/src/test/java and resources from MYJAR/src/test/resources. Why are these being included? MYWAR requires several configuration files, some of which have test versions in MYJAR/src/test/resources. The MYWAR version of these configuration files are being overwritten by the ones from MYJAR. This is not a problem with maven, as it creates a proper war without the test code.
Is there something I am doing wrong? Have others seen this problem?
Thanks,
Rob