Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 40C042009C5 for ; Mon, 16 May 2016 21:21:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F913160131; Mon, 16 May 2016 19:21:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8B571160A19 for ; Mon, 16 May 2016 21:21:14 +0200 (CEST) Received: (qmail 45399 invoked by uid 500); 16 May 2016 19:21:13 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 45389 invoked by uid 99); 16 May 2016 19:21:13 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2016 19:21:13 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 80344DFE3D; Mon, 16 May 2016 19:21:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: michaelo@apache.org To: commits@maven.apache.org Message-Id: <903f2f3db18f4c89862af55b0e3cb52c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: maven git commit: [MNG-5567] Zip files are not included in classpaths at all Date: Mon, 16 May 2016 19:21:13 +0000 (UTC) archived-at: Mon, 16 May 2016 19:21:15 -0000 Repository: maven Updated Branches: refs/heads/master ce580ea2f -> c023e5810 [MNG-5567] Zip files are not included in classpaths at all By definition of the classpath [1], JAR and Zip files are valid compressed files. Zips are likely to contain resources shared around. This totally relieves of unpacking stuff and readding to the classpath and support what the JVM provided by defeault. Sharing resources will just work. [1] http://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html#A1100592 Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/c023e581 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/c023e581 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/c023e581 Branch: refs/heads/master Commit: c023e58104b71e27def0caa034d39ab0fa0373b6 Parents: ce580ea Author: Michael Osipov Authored: Mon May 16 21:18:04 2016 +0200 Committer: Michael Osipov Committed: Mon May 16 21:18:04 2016 +0200 ---------------------------------------------------------------------- .../resources/META-INF/plexus/artifact-handlers.xml | 13 +++++++++++++ maven-core/src/site/apt/artifact-handlers.apt | 2 ++ 2 files changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/c023e581/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml ---------------------------------------------------------------------- diff --git a/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml b/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml index 2f26ce2..92ddaec 100644 --- a/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml +++ b/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml @@ -190,5 +190,18 @@ Artifact handlers are required by the dependency resolution mechanism. + + + org.apache.maven.artifact.handler.ArtifactHandler + zip + org.apache.maven.artifact.handler.DefaultArtifactHandler + + zip + true + + + http://git-wip-us.apache.org/repos/asf/maven/blob/c023e581/maven-core/src/site/apt/artifact-handlers.apt ---------------------------------------------------------------------- diff --git a/maven-core/src/site/apt/artifact-handlers.apt b/maven-core/src/site/apt/artifact-handlers.apt index 1a4b344..79572ad 100644 --- a/maven-core/src/site/apt/artifact-handlers.apt +++ b/maven-core/src/site/apt/artifact-handlers.apt @@ -53,3 +53,5 @@ Default Artifact Handlers Reference *--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+ | <<>> | <<>> | <<>> | <<>> | java | <<>> | | *--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+ +| <<>> | <= type> | <= type> | | none | <<>> | | +*--------------------+------------+------------+---------------+-----------+---------------------+-----------------------+ \ No newline at end of file