Skip to main content



      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
Eclipse UserFriend
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: Sun Aug 31 03:30:35 EDT 2025

Powered by FUDForum. Page generated in 0.06268 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top