[infinispan-dev] Practical example of difficulties with dependencies

Tristan Tarrant ttarrant at redhat.com
Thu Mar 17 08:22:58 EDT 2016


On 17/03/2016 12:25, Sanne Grinovero wrote:
> Since we recently discussed the purpose of the "UberJar"s , I think it
> would be a great exercise to look at this discussion:
>   - https://developer.jboss.org/message/953081
>
> and ask ourselves what we could have done to make the first steps of
> this new user less miserable.
>
> Personally I think we could go a long way with some clear
> documentation about our dependencies;
> it's not hard to inject version properties from the pom files into the
> docs, so we could have a little reminder about - for example - which
> version of Hibernate is expected to have the JPACacheStore working.
>
> Also, I think it's clear that uber jars - at least in this case - are
> not even close to the solution, unless you intend to include all of
> Hibernate ORM and transitive dependencies..

While you are right that we could be clearer, and providing a printout 
of mvn dependency:dependency-[list|tree] would help some users, managing 
dependencies manually always comes loaded with a number of issues: 
duplicate jars, multiple versions, incompatible versions, useless jars, 
etc. So, to me, this is an NP complete problem.

Tristan
-- 
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat


More information about the infinispan-dev mailing list