Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » JPA 2 metamodel generator with Maven
JPA 2 metamodel generator with Maven [message #519856] Wed, 10 March 2010 04:16
Petr Jiricka is currently offline Petr Jiricka
Messages: 2
Registered: March 2010
Junior Member
Hi, I was looking at this page which describes generating the JPA 2 metamodel: http://wiki.eclipse.org/UserGuide/JPA/Using_the_Canonical_Mo del_Generator_(ELUG)

However, this page does not have any information on generating the metamodel with Maven. I found this blog which describes how to make it work: http://blog.gueck.com/2009/12/generating-jpa-20-criteria-can onical.html, but I am not sure if that would be the "official" recommended way. This approach uses the maven-processor-plugin, even though a cleaner way would probably be to just use the standard maven-comiler-plugin. But the problem with that is that annotation processing through the maven-compiler-plugin is rather buggy and basically does not work.

So, what would be the recommended way to generate the metamodel with Maven? It would be great if this information could be added to the wiki page above. Thanks,

Petr
Previous Topic:Left outer join on a unidirectional many to one mapping
Next Topic:EclipseLink 2.0.1 on update site
Goto Forum:
  


Current Time: Wed Jul 23 22:35:31 EDT 2014

Powered by FUDForum. Page generated in 0.08125 seconds