Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94BC91796B for ; Thu, 5 Mar 2015 15:39:17 +0000 (UTC) Received: (qmail 43898 invoked by uid 500); 5 Mar 2015 15:39:17 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 43827 invoked by uid 500); 5 Mar 2015 15:39:17 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 43815 invoked by uid 99); 5 Mar 2015 15:39:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 15:39:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mcculls@gmail.com designates 209.85.212.194 as permitted sender) Received: from [209.85.212.194] (HELO mail-wi0-f194.google.com) (209.85.212.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 15:38:51 +0000 Received: by wibbs8 with SMTP id bs8so2283042wib.0 for ; Thu, 05 Mar 2015 07:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type; bh=phokTKHGLC60wmX/gjLNxfjkMjLskC5D6PcM2KUxOf4=; b=uOm+EEowNDRjlBe2cin6R1YRDXAs9y8m21/0LA3x4BN5YEyz02kPRFwH2oylO/4aHk MY4l/4l8t5F3mDElmxOuMPVd3vjSHPac3+c2V9HE8LnLiASe/9hslwpBCn2CWYVBiws9 uVvSE/+CAEvuccC65b06wL4GJfPCO/Ze58HHcvQm+Jhfl+tih1huSEaj6EWG71C2J9wX as6T4+pisWfG9W4fXMAHFFyKulE5jiUghpy/3AwauhGdpNCE1lFxUURlZwZXl/lHLj+2 IbdDFiUVNsRV7JTTgVpU3SyWrK/G3GdkW6F5vhsZlkUg3VwHgRH42KEm+QxxeOSbgtfZ EnRQ== X-Received: by 10.194.133.196 with SMTP id pe4mr20363563wjb.76.1425569884950; Thu, 05 Mar 2015 07:38:04 -0800 (PST) Received: from [192.168.1.81] (host86-135-16-248.range86-135.btcentralplus.com. [86.135.16.248]) by mx.google.com with ESMTPSA id n1sm30226774wib.11.2015.03.05.07.38.03 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Mar 2015 07:38:04 -0800 (PST) Date: Thu, 5 Mar 2015 15:38:03 +0000 From: Stuart McCulloch To: Maven Developers List Message-ID: <243F3A64F6FB4DD7AFC63C58EF8D847B@gmail.com> In-Reply-To: References: <2013976295.3293972.1425566543002.JavaMail.yahoo@mail.yahoo.com> <0297F8CF673E46CEACAEAD818910CF63@gmail.com> Subject: Re: libs in mavens /lib folder X-Mailer: sparrow 1.6.3 (build 1173) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="54f8785b_1816f8c4_4b9" X-Virus-Checked: Checked by ClamAV on apache.org --54f8785b_1816f8c4_4b9 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Not sure I understand - the packages currently exported are limited to the ones that plugins/extensions need to use to communicate with Maven core (such as javax.inject to request injection) Do you have a plugin or testcase which is behaving incorrectly with Maven 3.2.5? On Thursday, 5 March 2015 at 15:27, Romain Manni-Bucau wrote: > Hmm, will test soon but seems the imports are not complete, it misses: > > javax.decorator, javax.inject, javax.annotation and the whole > javax.enterprise AFAIK > > > Romain Manni-Bucau > @rmannibucau | Blog > | Github | > LinkedIn | Tomitriber > > > 2015-03-05 16:20 GMT+01:00 Stuart McCulloch : > > > 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 | Blog > > > | Github < > > > > > > > https://github.com/rmannibucau> | > > > LinkedIn | Tomitriber > > > > > > > > > 2015-03-05 16:01 GMT+01:00 Jason van Zyl > jason@takari.io (mailto:jason@takari.io))>: > > > > > > > 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 > struberg@yahoo.de (mailto:struberg@yahoo.de))> 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: dev-unsubscribe@maven.apache.org (mailto:dev-unsubscribe@maven.apache.org) (mailto: > > > > > > > > > > > > > > > > > > > > dev-unsubscribe@maven.apache.org (mailto:dev-unsubscribe@maven.apache.org)) > > > > > For additional commands, e-mail: dev-help@maven.apache.org (mailto:dev-help@maven.apache.org) (mailto: > > > > > > > > > > > dev-help@maven.apache.org (mailto:dev-help@maven.apache.org)) > > > > > > > > > > > > > > > > > > > > > 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: dev-unsubscribe@maven.apache.org (mailto:dev-unsubscribe@maven.apache.org) (mailto: > > > > > > > > > > > dev-unsubscribe@maven.apache.org (mailto:dev-unsubscribe@maven.apache.org)) > > > > For additional commands, e-mail: dev-help@maven.apache.org (mailto:dev-help@maven.apache.org) (mailto: > > > > > > > dev-help@maven.apache.org (mailto:dev-help@maven.apache.org)) > > > > > > > > > > > > > > --54f8785b_1816f8c4_4b9--