commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [ALL] About binary compatibility
Date Thu, 02 Jun 2016 22:11:38 GMT
On Thu, Jun 2, 2016 at 3:01 PM, Benedikt Ritter <britter@apache.org> wrote:

> Hello Benson,
>
> Benson Margulies <bimargulies@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-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message