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 96DF8200C01 for ; Thu, 19 Jan 2017 12:52:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 953F3160B54; Thu, 19 Jan 2017 11:52:01 +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 790BF160B42 for ; Thu, 19 Jan 2017 12:51:59 +0100 (CET) Received: (qmail 94989 invoked by uid 500); 19 Jan 2017 11:51:58 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 94980 invoked by uid 99); 19 Jan 2017 11:51:58 -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; Thu, 19 Jan 2017 11:51:58 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4B652DFB86; Thu, 19 Jan 2017 11:51:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stevel@apache.org To: common-commits@hadoop.apache.org Message-Id: <5b990670ad664f53beda6dbc982998d2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hadoop git commit: HADOOP-13999 Add -DskipShade maven profile to disable jar shading to reduce compile time. Contributed by Arun Suresh Date: Thu, 19 Jan 2017 11:51:58 +0000 (UTC) archived-at: Thu, 19 Jan 2017 11:52:01 -0000 Repository: hadoop Updated Branches: refs/heads/trunk ed33ce11d -> 85e4961f6 HADOOP-13999 Add -DskipShade maven profile to disable jar shading to reduce compile time. Contributed by Arun Suresh Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/85e4961f Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/85e4961f Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/85e4961f Branch: refs/heads/trunk Commit: 85e4961f60b7f8cd1343b6f2b9f4c8bb1a5de6ac Parents: ed33ce1 Author: Steve Loughran Authored: Thu Jan 19 11:49:40 2017 +0000 Committer: Steve Loughran Committed: Thu Jan 19 11:49:40 2017 +0000 ---------------------------------------------------------------------- hadoop-client-modules/hadoop-client-api/pom.xml | 318 +++++++------ .../hadoop-client-integration-tests/pom.xml | 173 ++++--- .../hadoop-client-minicluster/pom.xml | 426 ++++++++++-------- .../hadoop-client-runtime/pom.xml | 446 ++++++++++--------- 4 files changed, 741 insertions(+), 622 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/85e4961f/hadoop-client-modules/hadoop-client-api/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-client-modules/hadoop-client-api/pom.xml b/hadoop-client-modules/hadoop-client-api/pom.xml index 9342d53..de34a9a 100644 --- a/hadoop-client-modules/hadoop-client-api/pom.xml +++ b/hadoop-client-modules/hadoop-client-api/pom.xml @@ -68,149 +68,179 @@ - - - - - org.apache.maven.plugins - maven-source-plugin - - true - - - - org.apache.maven.plugins - maven-shade-plugin - - - org.apache.hadoop - hadoop-maven-plugins - ${project.version} - - - - - package - - shade - - - - - org.apache.hadoop:* - - - - - - org.apache.hadoop:hadoop-yarn-common - - org/apache/hadoop/yarn/factories/package-info.class - org/apache/hadoop/yarn/util/package-info.class - org/apache/hadoop/yarn/factory/providers/package-info.class - org/apache/hadoop/yarn/client/api/impl/package-info.class - org/apache/hadoop/yarn/client/api/package-info.class - - - - - - org/ - ${shaded.dependency.prefix}.org. - - org/apache/hadoop/* - org/apache/hadoop/**/* - - org/apache/htrace/* - org/apache/htrace/**/* - org/slf4j/* - org/slf4j/**/* - org/apache/commons/logging/* - org/apache/commons/logging/**/* - org/apache/log4j/* - org/apache/log4j/**/* - **/pom.xml - - org/ietf/jgss/* - org/omg/**/* - org/w3c/dom/* - org/w3c/dom/**/* - org/xml/sax/* - org/xml/sax/**/* - - - - com/ - ${shaded.dependency.prefix}.com. - - **/pom.xml - - com/sun/tools/* - com/sun/javadoc/* - com/sun/security/* - com/sun/jndi/* - com/sun/management/* - com/sun/tools/**/* - com/sun/javadoc/**/* - com/sun/security/**/* - com/sun/jndi/**/* - com/sun/management/**/* - - - - io/ - ${shaded.dependency.prefix}.io. - - **/pom.xml - - io/compression/* - io/compression/**/* - io/mapfile/* - io/mapfile/**/* - io/map/index/* - io/seqfile/* - io/seqfile/**/* - io/file/buffer/size - io/skip/checksum/errors - io/sort/* - io/serializations - - - - javax/servlet/ - ${shaded.dependency.prefix}.javax.servlet. - - **/pom.xml - - - - net/ - ${shaded.dependency.prefix}.net. - - **/pom.xml - - net/topology/* - net/topology/**/* - - - - - - - - - false - - - - - - - - org.codehaus.mojo - license-maven-plugin - - - + + + shade + + !skipShade + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + + org.apache.maven.plugins + maven-shade-plugin + + + org.apache.hadoop + hadoop-maven-plugins + ${project.version} + + + + + package + + shade + + + + + org.apache.hadoop:* + + + + + + org.apache.hadoop:hadoop-yarn-common + + org/apache/hadoop/yarn/factories/package-info.class + org/apache/hadoop/yarn/util/package-info.class + org/apache/hadoop/yarn/factory/providers/package-info.class + org/apache/hadoop/yarn/client/api/impl/package-info.class + org/apache/hadoop/yarn/client/api/package-info.class + + + + + + org/ + ${shaded.dependency.prefix}.org. + + org/apache/hadoop/* + org/apache/hadoop/**/* + + org/apache/htrace/* + org/apache/htrace/**/* + org/slf4j/* + org/slf4j/**/* + org/apache/commons/logging/* + org/apache/commons/logging/**/* + org/apache/log4j/* + org/apache/log4j/**/* + **/pom.xml + + org/ietf/jgss/* + org/omg/**/* + org/w3c/dom/* + org/w3c/dom/**/* + org/xml/sax/* + org/xml/sax/**/* + + + + com/ + ${shaded.dependency.prefix}.com. + + **/pom.xml + + com/sun/tools/* + com/sun/javadoc/* + com/sun/security/* + com/sun/jndi/* + com/sun/management/* + com/sun/tools/**/* + com/sun/javadoc/**/* + com/sun/security/**/* + com/sun/jndi/**/* + com/sun/management/**/* + + + + io/ + ${shaded.dependency.prefix}.io. + + **/pom.xml + + io/compression/* + io/compression/**/* + io/mapfile/* + io/mapfile/**/* + io/map/index/* + io/seqfile/* + io/seqfile/**/* + io/file/buffer/size + io/skip/checksum/errors + io/sort/* + io/serializations + + + + javax/servlet/ + ${shaded.dependency.prefix}.javax.servlet. + + **/pom.xml + + + + net/ + ${shaded.dependency.prefix}.net. + + **/pom.xml + + net/topology/* + net/topology/**/* + + + + + + + + + false + + + + + + + + org.codehaus.mojo + license-maven-plugin + + + + + + noshade + + skipShade + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + + org.codehaus.mojo + license-maven-plugin + + + + + http://git-wip-us.apache.org/repos/asf/hadoop/blob/85e4961f/hadoop-client-modules/hadoop-client-integration-tests/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-client-modules/hadoop-client-integration-tests/pom.xml b/hadoop-client-modules/hadoop-client-integration-tests/pom.xml index 0df6776..76f7394 100644 --- a/hadoop-client-modules/hadoop-client-integration-tests/pom.xml +++ b/hadoop-client-modules/hadoop-client-integration-tests/pom.xml @@ -33,21 +33,6 @@ - org.apache.hadoop - hadoop-client-api - test - - - org.apache.hadoop - hadoop-client-runtime - test - - - org.apache.hadoop - hadoop-client-minicluster - test - - log4j log4j test @@ -68,63 +53,107 @@ test - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - - default-testCompile - test-compile - - - **/IT* - **/*IT - - - - - - compile-integration-tests - pre-integration-test - - testCompile - - - - **/IT* - **/*IT - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - integration-test - verify - - - - - - + + + shade + + !skipShade + + + + org.apache.hadoop + hadoop-client-api + test + + + org.apache.hadoop + hadoop-client-runtime + test + + + org.apache.hadoop + hadoop-client-minicluster + test + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + default-testCompile + test-compile + + + **/IT* + **/*IT + + + + + + compile-integration-tests + pre-integration-test + + testCompile + + + + **/IT* + **/*IT + + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + verify + + + + + + + + + noshade + + skipShade + + + + org.apache.hadoop + hadoop-common + test + + + org.apache.hadoop + hadoop-hdfs + test + test-jar + + + + http://git-wip-us.apache.org/repos/asf/hadoop/blob/85e4961f/hadoop-client-modules/hadoop-client-minicluster/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml b/hadoop-client-modules/hadoop-client-minicluster/pom.xml index 8ab70d8..dd5f337 100644 --- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml +++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml @@ -542,204 +542,234 @@ - - - - - org.apache.maven.plugins - maven-source-plugin - - true - - - - org.apache.maven.plugins - maven-shade-plugin - - - org.apache.hadoop - hadoop-maven-plugins - ${project.version} - - - - - package - - shade - - - true - - - - org.apache.hadoop:hadoop-annotations - org.apache.hadoop:hadoop-client-api - org.apache.hadoop:hadoop-client-runtime - - org.apache.htrace:htrace-core4 - org.slf4j:slf4j-api - commons-logging:commons-logging - junit:junit - - org.apache.hadoop:hadoop-yarn-server-timelineservice - log4j:log4j - - - - - - - *:* - - **/*.java - - - - - *:* - - **/Test*.class - - - - - com.sun.jersey:jersey-client - - **/*.class - - - - com.sun.jersey:jersey-core - - **/*.class - - - - com.sun.jersey:jersey-servlet - - **/*.class - - - - - - org/ - ${shaded.dependency.prefix}.org. - - org/apache/hadoop/* - org/apache/hadoop/**/* - - org/apache/htrace/* - org/apache/htrace/**/* - org/slf4j/* - org/slf4j/**/* - org/apache/commons/logging/* - org/apache/commons/logging/**/* - org/apache/log4j/* - org/apache/log4j/**/* - **/pom.xml - - org/junit/* - org/junit/**/* - - org/ietf/jgss/* - org/omg/**/* - org/w3c/dom/* - org/w3c/dom/**/* - org/xml/sax/* - org/xml/sax/**/* - - - - com/ - ${shaded.dependency.prefix}.com. - - **/pom.xml - - com/sun/tools/* - com/sun/javadoc/* - com/sun/security/* - com/sun/jndi/* - com/sun/management/* - com/sun/tools/**/* - com/sun/javadoc/**/* - com/sun/security/**/* - com/sun/jndi/**/* - com/sun/management/**/* - - - - io/ - ${shaded.dependency.prefix}.io. - - **/pom.xml - - io/compression/* - io/compression/**/* - io/mapfile/* - io/mapfile/**/* - io/map/index/* - io/seqfile/* - io/seqfile/**/* - io/file/buffer/size - io/skip/checksum/errors - io/sort/* - io/serializations - - - - javax/el/ - ${shaded.dependency.prefix}.javax.el. - - **/pom.xml - - - - javax/inject/ - ${shaded.dependency.prefix}.javax.inject. - - **/pom.xml - - - - javax/servlet/ - ${shaded.dependency.prefix}.javax.servlet. - - **/pom.xml - - - - net/ - ${shaded.dependency.prefix}.net. - - **/pom.xml - - net/topology/* - net/topology/**/* - - - - - - - - - false - - - - - - - - org.codehaus.mojo - license-maven-plugin - - - + + + shade + + !skipShade + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + + org.apache.maven.plugins + maven-shade-plugin + + + org.apache.hadoop + hadoop-maven-plugins + ${project.version} + + + + + package + + shade + + + true + + + + org.apache.hadoop:hadoop-annotations + org.apache.hadoop:hadoop-client-api + org.apache.hadoop:hadoop-client-runtime + + org.apache.htrace:htrace-core4 + org.slf4j:slf4j-api + commons-logging:commons-logging + junit:junit + + org.apache.hadoop:hadoop-yarn-server-timelineservice + log4j:log4j + + + + + + + *:* + + **/*.java + + + + + *:* + + **/Test*.class + + + + + com.sun.jersey:jersey-client + + **/*.class + + + + com.sun.jersey:jersey-core + + **/*.class + + + + com.sun.jersey:jersey-servlet + + **/*.class + + + + + + org/ + ${shaded.dependency.prefix}.org. + + org/apache/hadoop/* + org/apache/hadoop/**/* + + org/apache/htrace/* + org/apache/htrace/**/* + org/slf4j/* + org/slf4j/**/* + org/apache/commons/logging/* + org/apache/commons/logging/**/* + org/apache/log4j/* + org/apache/log4j/**/* + **/pom.xml + + org/junit/* + org/junit/**/* + + org/ietf/jgss/* + org/omg/**/* + org/w3c/dom/* + org/w3c/dom/**/* + org/xml/sax/* + org/xml/sax/**/* + + + + com/ + ${shaded.dependency.prefix}.com. + + **/pom.xml + + com/sun/tools/* + com/sun/javadoc/* + com/sun/security/* + com/sun/jndi/* + com/sun/management/* + com/sun/tools/**/* + com/sun/javadoc/**/* + com/sun/security/**/* + com/sun/jndi/**/* + com/sun/management/**/* + + + + io/ + ${shaded.dependency.prefix}.io. + + **/pom.xml + + io/compression/* + io/compression/**/* + io/mapfile/* + io/mapfile/**/* + io/map/index/* + io/seqfile/* + io/seqfile/**/* + io/file/buffer/size + io/skip/checksum/errors + io/sort/* + io/serializations + + + + javax/el/ + ${shaded.dependency.prefix}.javax.el. + + **/pom.xml + + + + javax/inject/ + ${shaded.dependency.prefix}.javax.inject. + + **/pom.xml + + + + javax/servlet/ + ${shaded.dependency.prefix}.javax.servlet. + + **/pom.xml + + + + net/ + ${shaded.dependency.prefix}.net. + + **/pom.xml + + net/topology/* + net/topology/**/* + + + + + + + + + false + + + + + + + + org.codehaus.mojo + license-maven-plugin + + + + + + noshade + + skipShade + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + + org.codehaus.mojo + license-maven-plugin + + + + + http://git-wip-us.apache.org/repos/asf/hadoop/blob/85e4961f/hadoop-client-modules/hadoop-client-runtime/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml index aa1a54b..63250f8 100644 --- a/hadoop-client-modules/hadoop-client-runtime/pom.xml +++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml @@ -105,214 +105,244 @@ true - - - - - org.apache.maven.plugins - maven-source-plugin - - true - - - - org.apache.maven.plugins - maven-shade-plugin - - - org.apache.hadoop - hadoop-maven-plugins - ${project.version} - - - - - package - - shade - - - true - - - - org.apache.hadoop:hadoop-client-api - - org.apache.htrace:htrace-core4 - - org.slf4j:slf4j-api - - commons-logging:commons-logging - - log4j:log4j - - - - - - org.apache.hadoop:* - - **/* - * - - - - - *:* - - **/*.java - - - - - tomcat:jasper-compiler - - org/apache/jasper/compiler/Localizer.class - - - - - xerces:xercesImpl - - META-INF/services/* - - - - - com.sun.jersey:* - - META-INF/services/javax.* - - - - - - org/ - ${shaded.dependency.prefix}.org. - - org/apache/hadoop/* - org/apache/hadoop/**/* - - org/apache/htrace/* - org/apache/htrace/**/* - org/slf4j/* - org/slf4j/**/* - org/apache/commons/logging/* - org/apache/commons/logging/**/* - org/apache/log4j/* - org/apache/log4j/**/* - **/pom.xml - - org/ietf/jgss/* - org/omg/**/* - org/w3c/dom/* - org/w3c/dom/**/* - org/xml/sax/* - org/xml/sax/**/* - - - - com/ - ${shaded.dependency.prefix}.com. - - **/pom.xml - - com/sun/tools/* - com/sun/javadoc/* - com/sun/security/* - com/sun/jndi/* - com/sun/management/* - com/sun/tools/**/* - com/sun/javadoc/**/* - com/sun/security/**/* - com/sun/jndi/**/* - com/sun/management/**/* - - - - io/ - ${shaded.dependency.prefix}.io. - - **/pom.xml - - io/compression/* - io/compression/**/* - io/mapfile/* - io/mapfile/**/* - io/map/index/* - io/seqfile/* - io/seqfile/**/* - io/file/buffer/size - io/skip/checksum/errors - io/sort/* - io/serializations - - - - javax/el/ - ${shaded.dependency.prefix}.javax.el. - - **/pom.xml - - - - javax/servlet/ - ${shaded.dependency.prefix}.javax.servlet. - - **/pom.xml - - - - net/ - ${shaded.dependency.prefix}.net. - - **/pom.xml - - net/topology/* - net/topology/**/* - - - - - - - - - - - false - - - META-INF/jboss-beans.xml - - - - META-INF/mailcap.default - - - META-INF/mimetypes.default - - - - - - - - org.codehaus.mojo - license-maven-plugin - - - + + + shade + + !skipShade + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + + org.apache.maven.plugins + maven-shade-plugin + + + org.apache.hadoop + hadoop-maven-plugins + ${project.version} + + + + + package + + shade + + + true + + + + org.apache.hadoop:hadoop-client-api + + org.apache.htrace:htrace-core4 + + org.slf4j:slf4j-api + + commons-logging:commons-logging + + log4j:log4j + + + + + + org.apache.hadoop:* + + **/* + * + + + + + *:* + + **/*.java + + + + + tomcat:jasper-compiler + + org/apache/jasper/compiler/Localizer.class + + + + + xerces:xercesImpl + + META-INF/services/* + + + + + com.sun.jersey:* + + META-INF/services/javax.* + + + + + + org/ + ${shaded.dependency.prefix}.org. + + org/apache/hadoop/* + org/apache/hadoop/**/* + + org/apache/htrace/* + org/apache/htrace/**/* + org/slf4j/* + org/slf4j/**/* + org/apache/commons/logging/* + org/apache/commons/logging/**/* + org/apache/log4j/* + org/apache/log4j/**/* + **/pom.xml + + org/ietf/jgss/* + org/omg/**/* + org/w3c/dom/* + org/w3c/dom/**/* + org/xml/sax/* + org/xml/sax/**/* + + + + com/ + ${shaded.dependency.prefix}.com. + + **/pom.xml + + com/sun/tools/* + com/sun/javadoc/* + com/sun/security/* + com/sun/jndi/* + com/sun/management/* + com/sun/tools/**/* + com/sun/javadoc/**/* + com/sun/security/**/* + com/sun/jndi/**/* + com/sun/management/**/* + + + + io/ + ${shaded.dependency.prefix}.io. + + **/pom.xml + + io/compression/* + io/compression/**/* + io/mapfile/* + io/mapfile/**/* + io/map/index/* + io/seqfile/* + io/seqfile/**/* + io/file/buffer/size + io/skip/checksum/errors + io/sort/* + io/serializations + + + + javax/el/ + ${shaded.dependency.prefix}.javax.el. + + **/pom.xml + + + + javax/servlet/ + ${shaded.dependency.prefix}.javax.servlet. + + **/pom.xml + + + + net/ + ${shaded.dependency.prefix}.net. + + **/pom.xml + + net/topology/* + net/topology/**/* + + + + + + + + + + + false + + + META-INF/jboss-beans.xml + + + + META-INF/mailcap.default + + + META-INF/mimetypes.default + + + + + + + + org.codehaus.mojo + license-maven-plugin + + + + + + noshade + + skipShade + + + + + + org.apache.maven.plugins + maven-source-plugin + + true + + + + org.codehaus.mojo + license-maven-plugin + + + + + --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-commits-help@hadoop.apache.org