I have a problem that the files from src/main/resources are not copied and included when i run tests.
I have a persistence.xml file, and I am using eclipse link. The persistence.xml file defines an in memory h2 database. I have a single test that attempts to access these entities. The problem is that no entities are registered with the entity manager.
Checking the build/classes/main directory, I don’t find the persistence.xml file, but it is included in the final jar. This causes my tests to fail.
This is a project I converted from maven2.