<mailto:
igor@xxxxxxxxxxxxxx>> wrote:
    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.
    --
    Regards,
    Igor
    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:
        <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-jpamodelgen</artifactId>
        <version>1.1.1.Final</version>
        </dependency>
        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
        <
http://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/#d0e319>
        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.
        Thanks.
        Naresh
        _______________________________________________
        m2e-users mailing list