On Thu, Jun 2, 2016 at 3:01 PM, Benedikt Ritter <brit...@apache.org> wrote:

> Hello Benson,
>
> Benson Margulies <bimargul...@gmail.com> schrieb am Do., 2. Juni 2016 um
> 23:36 Uhr:
>
> > I don't understand what's wrong with semantic versioning and keeping
> > the same maven coordinates. No sane person should be using RELEASE or
> > LATEST.
> >
>
> The problem are transitive dependencies. Consider this example:
>
> My-Project
>  | -> A -> B -> C 1.2
>  | -> D -> C 2.0
>
> In this case my project depends directly on A and D. A depends on B which
> depends on C in version 1.2. D depends on C in version 2.0. In this case I
> have no control over the dependencies to C but my project will be broken at
> run time, because C 1.2 and C 2.0 can not exist at once in the same
> classpath.
>

For a fun example, I once had a server stack with dependencies on Apache
CXF and JBoss Teiid, 100's jars... lots of t-deps...

Gary


>
> Benedikt
>
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >
>



-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to