I'm trying to load test data into a test DB during a maven build for integration testing. persistence.xml is being copied to target/test-classes/META-INF/
correctly, but I get this exception when the test is run.
javax.persistence.PersistenceException: No Persistence provider for EntityManager named aimDatabase
It looks like it's not finding or loading persistence.xml.