maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kboom <>
Subject Maven JPA metamodel generation in multi-module project
Date Sat, 05 Apr 2014 21:43:16 GMT

I've got a multi-module maven project. One of such modules should generate a
JPA metamodel - I include a snipped in its pom:

						<id>generate jpa metamodel sources</id>



						<id>add jpa metamodel sources</id>

It works well when triggering build process by mvn clean install - all code
is generated and there is no errors. But when I trigger clean install on the
parent pom (and a aggregate project) code generation seem to be triggered,
but effective only on the local JPA-annotated entities. The entities mapped
by xml mappings (which are defined in other modules) does not contribute to
the output source code (but they were in the first case!). Could someone
tell me please what is wrong?

I run out of options... Thank you!

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message