Hi all,
Currently I am trying to let JPA find the entity classes itself. This works, as long as the annotated entities lie in the src/main/java folder and the persistence.xml is to be found in src/main/resources. Yet, as I use Maven, I would also like to include external jar-files. The only way I found this to work is to use the <jar-file> tag, yet working only when specifying an absolute path, which is pretty ugly and not being very productive when working in a team with more than one member.
Is there some way to specify a maven dependeny in a jar-file tag without specifying the absolute path to the jar-file?
Thank you very much in advance, luckger
|