On 2/26/07, John J. Franey <[EMAIL PROTECTED]> wrote:


Lally Singh wrote:
>
> how do I get maven to do whatever needs to be done to process my hibernate
> annotations?
>
>

If you are using java 5 annotations and maven 2:  Nothing, aside from
compiling with java 5 or better, homing hibernate and java persistence
configuration files into src/main/resources directory, and obtaining the
hibernate artifacts into your repository.  This answer does not apply to
javadoc annotations (i.e., source code generation via xdoclet) or maven 1.

Annotations are a java language construct and are 'processed' by java
compilation.  The java compiler puts annotation data into the output class
files for the hibernate libraries to read.

Wonderful, thank you.  However, nothing's getting generated into
src/main/resources  (that's just got the original cocoon & spring
stuff in it).  Is there another maven target I should run?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to