-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [JPA] persistence.xml and maven dependencies
PostPosted: Wed May 12, 2010 3:37 am 
Newbie

Joined: Wed May 12, 2010 3:32 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.