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 CACFC17758 for ; Thu, 5 Mar 2015 15:03:10 +0000 (UTC) Received: (qmail 18953 invoked by uid 500); 5 Mar 2015 15:03:07 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 18882 invoked by uid 500); 5 Mar 2015 15:03:07 -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 18864 invoked by uid 99); 5 Mar 2015 15:03:07 -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:03:07 +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 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 15:02:38 +0000 Received: by wevm14 with SMTP id m14so53457606wev.13 for ; Thu, 05 Mar 2015 07:01:06 -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=s3f9ohmQ36uJcLaP0xaqtvnkYGf6ixWSKDHQLw2kp3M=; b=s+AvXIQepAF7Q48gdPHi7e18KgTKWXyKgw6FR1wXCG56q22kxU8yyJRkxCfhsLQ8hj uuZ3LZ4gezc6MgJX3bdXWeDwrkZ+0RGB+ayMYHXw3DTQhh5DSsmbeHd3pfgtIgkOcFL7 XPAvr72nJ1eies6pkCu115nn9r+j5wHME76h1NKGbGb/U1RZOzmj5NcO1sZd4QdHNC7+ Sa39rNNFsX2ImFl0ZE3zmwI7MaKcToa6EJ+L0DNKDBxSFPrrLXGLTfvDZ7gKVr248/bO Y+L+AhwRJomGhIHnKBKr6A3x09a8mpW7lH4XcqlyUK9OzeORl6yeaBfU2fwRAaHZ5hKC E9bw== X-Received: by 10.194.58.209 with SMTP id t17mr19517285wjq.156.1425567666707; Thu, 05 Mar 2015 07:01:06 -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 gt4sm12001969wib.21.2015.03.05.07.01.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Mar 2015 07:01:05 -0800 (PST) Date: Thu, 5 Mar 2015 15:01:05 +0000 From: Stuart McCulloch To: Maven Developers List , Mark Struberg Message-ID: <3E6A71E5F4834E57818DF85513712D2A@gmail.com> In-Reply-To: <2013976295.3293972.1425566543002.JavaMail.yahoo@mail.yahoo.com> References: <2013976295.3293972.1425566543002.JavaMail.yahoo@mail.yahoo.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="54f86fb1_34fd6b4f_4b9" X-Virus-Checked: Checked by ClamAV on apache.org --54f86fb1_34fd6b4f_4b9 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday, 5 March 2015 at 14:42, Mark Struberg wrote: > Hi=21 > =20 > I'm quite confused by the sheer amount of libs we already have in our l= ib folder. =46or maven-3.2.1 this is > =20 > 133957 7. Mai 2013 aether-api-0.9.0.M2.jar > 12637 14. =46eb 2014 aether-api.license > 34117 7. Mai 2013 aether-connector-wagon-0.9.0.M2.jar > 12637 14. =46eb 2014 aether-connector-wagon.license > 144866 7. Mai 2013 aether-impl-0.9.0.M2.jar > 12637 14. =46eb 2014 aether-impl.license > 17703 7. Mai 2013 aether-spi-0.9.0.M2.jar > 12637 14. =46eb 2014 aether-spi.license > 133588 7. Mai 2013 aether-util-0.9.0.M2.jar > 12637 14. =46eb 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. =46eb 2014 jsoup.license > 5848 7. Mai 2013 jsr250-api-1.0.jar > 18116 14. =46eb 2014 jsr250-api.license > 61357 14. =46eb 2014 maven-aether-provider-3.2.1.jar > 53651 14. =46eb 2014 maven-artifact-3.2.1.jar > 283790 14. =46eb 2014 maven-compat-3.2.1.jar > 574650 14. =46eb 2014 maven-core-3.2.1.jar > 59433 14. =46eb 2014 maven-embedder-3.2.1.jar > 159855 14. =46eb 2014 maven-model-3.2.1.jar > 165103 14. =46eb 2014 maven-model-builder-3.2.1.jar > 45831 14. =46eb 2014 maven-plugin-api-3.2.1.jar > 25758 14. =46eb 2014 maven-repository-metadata-3.2.1.jar > 42804 14. =46eb 2014 maven-settings-3.2.1.jar > 42738 14. =46eb 2014 maven-settings-builder-3.2.1.jar > 291397 23. Sep 2013 org.eclipse.sisu.inject-0.0.0.M5.jar > 12637 14. =46eb 2014 org.eclipse.sisu.inject.license > 196544 25. Jul 2013 org.eclipse.sisu.plexus-0.0.0.M5.jar > 12637 14. =46eb 2014 org.eclipse.sisu.plexus.license > 13350 7. Mai 2013 plexus-cipher-1.7.jar > 33933 14. =46eb 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. =46eb 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=5Faop.jar > 26084 24. Jul 2013 slf4j-api-1.7.5.jar > 11207 14. =46eb 2014 slf4j-api.license > 10680 17. Aug 2013 slf4j-simple-1.7.5.jar > 11207 14. =46eb 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 > =20 > =20 > Lets look into details: > =20 > =20 > 44908 7. Mai 2013 cdi-api-1.0.jar > =20 > What for=3F Do we use CDI in maven now=3F If so, why do we still have g= uava and guice=3F -> No then remove it This provides the standard javax.enterprise.inject.Typed annotation which= is respected by the container and helps migrate Plexus components (where= you want to limit their visibility to a specific role) to more standard/= modern annotations If you don=E2=80=99t have any components that need this feature then it c= an be removed (or if you prefer to use a non-standard annotation in your = components then that=E2=80=99s also possible, albeit less portable) > 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 > =20 > That might clash with many customer projects or is this very well guard= ed from any plugin classloader=3F > =20 > In maven-shared-utils we shaded in the few classes we used from this li= bs. > =20 > 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=3F I believe so, I haven=E2=80=99t seen any issues with this library and Gua= va has been bundled with Maven long before we changed containers (back wh= en it was called google collections) > =20 > 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. This is for components that want to use the standard JSR330 annotations, = and is required by Guice - not sure why this is a problem, given that the= spec is stable (the same applies to the aopalliance spec which is still = at 1.0) > 5848 7. Mai 2013 jsr250-api-1.0.jar > =20 > commons-annotations (JSR-250) are part of the JRE since java-1.4. So wh= y do we add it=3F Actually they were added in JavaSE 6, but now that maven core is at this = level then this library can be removed/excluded - the key annotations are= =40PostConstruct and =40PreDestroy which are supported by the container = when you use setJSR250Lifecycle(true) in the ContainerConfiguration. > =20 > txs and LieGrue, > strub > =20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe=40maven.apache.org (mailto:dev-= unsubscribe=40maven.apache.org) > =46or additional commands, e-mail: dev-help=40maven.apache.org (mailto:= dev-help=40maven.apache.org) --54f86fb1_34fd6b4f_4b9--