Updated Branches:
  refs/heads/sqoop2 b194154c5 -> 3b5a641ed

SQOOP-756: Exclude junit jar from our binary artifact

(Jarek Jarcec Cecho via Cheolsoo Park)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/3b5a641e
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/3b5a641e
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/3b5a641e

Branch: refs/heads/sqoop2
Commit: 3b5a641edace9c937f2974d4ed166e3d938bc461
Parents: b194154
Author: Cheolsoo Park <[email protected]>
Authored: Wed Dec 12 14:35:10 2012 -0800
Committer: Cheolsoo Park <[email protected]>
Committed: Wed Dec 12 14:35:10 2012 -0800

----------------------------------------------------------------------
 dist/pom.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/3b5a641e/dist/pom.xml
----------------------------------------------------------------------
diff --git a/dist/pom.xml b/dist/pom.xml
index 4aeee4a..b08ad51 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -174,7 +174,10 @@ limitations under the License.
 
                     <!-- Build client directory -->
                     <copy 
todir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/client/lib">
-                      <fileset dir="../client/target/lib"/>
+                      <fileset dir="../client/target/lib">
+                        <include name="*.jar" />
+                        <exclude name="junit-*.jar" />
+                      </fileset>
                     </copy>
                     <copy 
file="../client/target/sqoop-client-${project.version}.jar"
                       
toDir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/client/lib"/>

Reply via email to