Should have given you the link for moving to Gradle...
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5616
That one in particular has been discussed both here as well as IRC for close
to 6 months. In retrospect I guess the move to Git might have been a surprise
outside of the IRC crowd and for that I apologize. On the other hand the dev
IRC channel is open... :)
On Sunday, October 10, 2010 01:38:37 pm Steve Ebersole wrote:
On Sunday, October 10, 2010 01:25:38 pm Paul Benedict wrote:
> I think uber jars are never a good idea. You get everything and
> developers don't care to find out what features they want or don't
> want.
Personally I agree 100% there. Maybe even 10000000000% ;)
> As for Maven, have you considered profiles? If developers could
> activate them, there would be pre-built dependencies (like for c3p0).
> I find this better than Ivy.
Well couple of things there. First, these would need to be profiles in
their poms. AFAIK you cannot "invoke" profiles in poms of dependencies.
This however is completely possible in Ivy, which is why I stated I
thought it would be the more flexible way to go.
Also, Hibernate 4 will not be built with Maven. I am taking the
opportunity to also move to Gradle which I have wanted to do for quite
some time. Of course if you say there is a way to do what I said above I
thought was not possible with Maven and "show me the light" we could make
the generated poms reflect these profiles.
As far as I know, the only way to do what you suggest with Maven would be
for us to develop an archetype. The problem with these imho is that you
rarely are developing a "hibernate application"; more usually you are
developing a "web application", within which you are using hibernate. So
you need to decide up front which archetype you want to use. Its just
very inflexible.
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org