I believe that was fixed in https://jira.codehaus.org/browse/MNG-5620 (Maven 
3.2.2) - can you recreate it with Maven 3.2.5?

On Thursday, 5 March 2015 at 15:06, Romain Manni-Bucau wrote:

> no issue for maven itself but plugins are now easily broken:
> 
> loader constraint violation: loader (instance of
> org/codehaus/plexus/classworlds/realm/ClassRealm) previously initiated
> loading for a different type with name "javax/enterprise/util/TypeLiteral"
> 
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
> 
> 2015-03-05 16:01 GMT+01:00 Jason van Zyl <[email protected] 
> (mailto:[email protected])>:
> 
> > Why are you confused? From 3.1.0 to 3.3.0-SNAPSHOT the distribution, in
> > expanded form, has gone from ~6mb to ~9mb where the biggest contributors to
> > the size are Guava and the Wagon/HTTP related libraries. Those things have
> > just gotten bigger (Guava), or they have more dependencies (Wagon,
> > commons-httpclient and whatever it uses).
> > 
> > Each of those contributed roughly half of the increase. Everything else
> > has remained pretty much the same but don't see any cause for concern. I'm
> > really not worried about 3mb and I'm honestly not going to spend much time
> > trying to reclaim a few mb. Also looking back historically there was a
> > panic that not fully isolating the logging system would cause a huge
> > problem and in practice it has not. I honestly doubt the javax.* libraries
> > will be an issue as they are selectively exported from the core so if we
> > run into a huge problem it's easy to change.
> > 
> > We also don't export anything of the common utilities that use so nothing
> > stops any plugin or extension from using whatever version of plexus-utils,
> > Guava, or commons-whatever.
> > 
> > On Mar 5, 2015, at 6:42 AM, Mark Struberg <[email protected] 
> > (mailto:[email protected])> wrote:
> > 
> > > Hi!
> > > 
> > > I'm quite confused by the sheer amount of libs we already have in our
> > lib folder. For maven-3.2.1 this is
> > > 
> > > 133957 7. Mai 2013 aether-api-0.9.0.M2.jar
> > > 12637 14. Feb 2014 aether-api.license
> > > 34117 7. Mai 2013 aether-connector-wagon-0.9.0.M2.jar
> > > 12637 14. Feb 2014 aether-connector-wagon.license
> > > 144866 7. Mai 2013 aether-impl-0.9.0.M2.jar
> > > 12637 14. Feb 2014 aether-impl.license
> > > 17703 7. Mai 2013 aether-spi-0.9.0.M2.jar
> > > 12637 14. Feb 2014 aether-spi.license
> > > 133588 7. Mai 2013 aether-util-0.9.0.M2.jar
> > > 12637 14. Feb 2014 aether-util.license
> > > 4467 7. Mai 2013 aopalliance-1.0.jar
> > > 44908 7. Mai 2013 cdi-api-1.0.jar
> > > 41123 7. Mai 2013 commons-cli-1.2.jar
> > > 173587 7. Mai 2013 commons-io-2.2.jar
> > > 284220 7. Mai 2013 commons-lang-2.6.jar
> > > 2189117 7. Mai 2013 guava-14.0.1.jar
> > > 2497 7. Mai 2013 javax.inject-1.jar
> > > 293671 24. Jul 2013 jsoup-1.7.2.jar
> > > 3555 14. Feb 2014 jsoup.license
> > > 5848 7. Mai 2013 jsr250-api-1.0.jar
> > > 18116 14. Feb 2014 jsr250-api.license
> > > 61357 14. Feb 2014 maven-aether-provider-3.2.1.jar
> > > 53651 14. Feb 2014 maven-artifact-3.2.1.jar
> > > 283790 14. Feb 2014 maven-compat-3.2.1.jar
> > > 574650 14. Feb 2014 maven-core-3.2.1.jar
> > > 59433 14. Feb 2014 maven-embedder-3.2.1.jar
> > > 159855 14. Feb 2014 maven-model-3.2.1.jar
> > > 165103 14. Feb 2014 maven-model-builder-3.2.1.jar
> > > 45831 14. Feb 2014 maven-plugin-api-3.2.1.jar
> > > 25758 14. Feb 2014 maven-repository-metadata-3.2.1.jar
> > > 42804 14. Feb 2014 maven-settings-3.2.1.jar
> > > 42738 14. Feb 2014 maven-settings-builder-3.2.1.jar
> > > 291397 23. Sep 2013 org.eclipse.sisu.inject-0.0.0.M5.jar
> > > 12637 14. Feb 2014 org.eclipse.sisu.inject.license
> > > 196544 25. Jul 2013 org.eclipse.sisu.plexus-0.0.0.M5.jar
> > > 12637 14. Feb 2014 org.eclipse.sisu.plexus.license
> > > 13350 7. Mai 2013 plexus-cipher-1.7.jar
> > > 33933 14. Feb 2014 plexus-cipher.license
> > > 4211 7. Mai 2013 plexus-component-annotations-1.5.5.jar
> > > 61697 17. Aug 2013 plexus-interpolation-1.19.jar
> > > 28555 7. Mai 2013 plexus-sec-dispatcher-1.3.jar
> > > 33933 14. Feb 2014 plexus-sec-dispatcher.license
> > > 251792 27. Jan 2014 plexus-utils-3.0.17.jar
> > > 358933 7. Mai 2013 sisu-guice-3.1.3-no_aop.jar
> > > 26084 24. Jul 2013 slf4j-api-1.7.5.jar
> > > 11207 14. Feb 2014 slf4j-api.license
> > > 10680 17. Aug 2013 slf4j-simple-1.7.5.jar
> > > 11207 14. Feb 2014 slf4j-simple.license
> > > 11288 14. Jan 2014 wagon-file-2.6.jar
> > > 1388197 14. Jan 2014 wagon-http-2.6-shaded.jar
> > > 10373 14. Jan 2014 wagon-http-shared-2.6.jar
> > > 52572 14. Jan 2014 wagon-provider-api-2.6.jar
> > > 
> > > 
> > > Lets look into details:
> > > 
> > > 
> > > 44908 7. Mai 2013 cdi-api-1.0.jar
> > > 
> > > What for? Do we use CDI in maven now? If so, why do we still have guava
> > and guice? -> No then remove it
> > > 
> > > 
> > > 41123 7. Mai 2013 commons-cli-1.2.jar
> > > 173587 7. Mai 2013 commons-io-2.2.jar
> > > 284220 7. Mai 2013 commons-lang-2.6.jar
> > > 
> > > That might clash with many customer projects or is this very well
> > guarded from any plugin classloader?
> > > 
> > > In maven-shared-utils we shaded in the few classes we used from this
> > libs.
> > > 
> > > 
> > > 2189117 7. Mai 2013 guava-14.0.1.jar
> > > This is also used pretty often in custom projects. Same question as for
> > > 
> > 
> > commons-*. Is it well isolated?
> > > 
> > > 
> > > 2497 7. Mai 2013 javax.inject-1.jar
> > > We are only lucky that there is atm only a single version of this spec
> > > 
> > 
> > out there. So currently not much of an issue but a ticking time bomb.
> > > 
> > > 
> > > 5848 7. Mai 2013 jsr250-api-1.0.jar
> > > 
> > > commons-annotations (JSR-250) are part of the JRE since java-1.4. So why
> > do we add it?
> > > 
> > > 
> > > 
> > > txs and LieGrue,
> > > strub
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected] 
> > > (mailto:[email protected])
> > > For additional commands, e-mail: [email protected] 
> > > (mailto:[email protected])
> > > 
> > 
> > 
> > Thanks,
> > 
> > Jason
> > 
> > ----------------------------------------------------------
> > Jason van Zyl
> > Founder, Takari and Apache Maven
> > http://twitter.com/jvanzyl
> > http://twitter.com/takari_io
> > ---------------------------------------------------------
> > 
> > happiness is like a butterfly: the more you chase it, the more it will
> > elude you, but if you turn your attention to other things, it will come
> > and sit softly on your shoulder ...
> > 
> > -- Thoreau
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected] 
> > (mailto:[email protected])
> > For additional commands, e-mail: [email protected] 
> > (mailto:[email protected])
> > 
> 
> 
> 


Reply via email to