Cannot find the persistence.xml file

Description

Running the sceanario from either eclipse or intellij, the Persistence.createEntityManagerFactory("party-test"); finds the persistence.xml file just fine, and everything works. However running it via the maven plugin, and it can't find the file at all. I suspect this is a classpath issue, since the persistence.xml file is in a /META-INF directory and not in the normal classpath. I could be wrong though.

Assignee

Mauro Talevi

Reporter

Jim Barrows

Labels

None

Components

Affects versions

Priority

Major
Configure