Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] JPA 2 metamodel Generation

I need to generate the JPA 2 metamodel for the entities in my project. After adding the following dependency, maven stared generating the metamodel quite easily from the command line:


However, the corresponding Eclipse project (generated using m2eclipse) does not seem to generate sources. I tried to update the project configuration through Eclipse, but that did not work. What do I need to do to make this work in m2eclipse?

Reading the instructions at the hibernate site, I tried to enable annotation processing and add the Hibernate Metamodel Generator to the factory path. This started generating the metamodel, but Eclipse started going into an infinite loop trying to compile the sources. So this didn't work either.

Can someone please help me with this issue? I am using m2eclipse version 0.12.1.


Back to the top