4

We have a maven project with ejbs and stuff. When i run a build and create my ear, the persistence.xml doesnt get included inside the ear. What could be wrong here?

Sripaul
  • 2,227
  • 9
  • 36
  • 60

1 Answers1

6

You can add you file persistence.xml under \src\Main\application\META-INF, then the file will be added under your META-INF folder of your ear.

Regards,

Rayouma
  • 152
  • 2
  • 9