Today I’ve release the oqt-maven-plugin v0.3 to the Sonatype OSS.
Not much has changed since v0.2, I’ve just fixed 2 bugs and made very few other improvements. All info can be found on http://oqt.sourceforge.net/ .
In earlier versions I’ve stated that you could add the plugin to the module containing the entities but this is in fact not working; for some reason the freshly compiled classes in the target won’t find their way to the classpath.
I’m still thinking about a solution for this, but for the moment it’s best to put the oqt-maven-plugin in your EJB-JAR.