On 7/18/06, Sean Schofield <[EMAIL PROTECTED]> wrote:

Craig,

I've been working on my own little sample app that integrates shale
with several facelets, tomahawk, spring and hibernate.  I was just
about to ask on this list if anybody would be interested in working on
it with me if I contributed it here.



As we have discussed, we all agreed that it would be cool to have at least
one example app based on Hibernate.  That being said, we have a practical
consideration that needs to be worked out.  Hibernate is LGPL licensed, and
at the moment that means we cannot ship an Apache artifact that *requires*
Hibernate (it'd be ok if Hibernate was an optional dependency, but I can't
see that being the case here).  So, what to do?

What I think makes the most sense is to set the POM for your example app up
the usual way, but with one exception -- the assembly configuration will
explicitly eliminate the hibernate jars from the WAR (and from the "lib"
directory if needed).  That would mean the included war is not directly
runnable, but we can document our way around that problem.  And, it also
means that someone building the sample with Maven2 *would* still get a
runnable application (and thereby nudge more people towards M2 :-).

Can anyone see any flaws in this approach?  Or suggest something better?

Craig

Reply via email to