Skip to main content

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

Complete standalone sample project would be useful here.

I am guessing somebody will have to develop what we call "project
configurator" before this will work inside m2e, but I want to make sure
I am not missing anything.


On 11-01-20 09:59 PM, Naresh Bhatia wrote:
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


m2e-users mailing list

Back to the top