sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject sqoop git commit: SQOOP-2384: SQOOP2: Remove source code from binary distribution
Date Wed, 22 Jul 2015 22:16:25 GMT
Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 3dc19d6f0 -> 749690679


SQOOP-2384: SQOOP2: Remove source code from binary distribution

(Dian Fu via Jarek Jarcec Cecho)


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

Branch: refs/heads/sqoop2
Commit: 749690679fea1aa55b10554c52a358ed0c278104
Parents: 3dc19d6
Author: Jarek Jarcec Cecho <jarcec@apache.org>
Authored: Wed Jul 22 15:16:08 2015 -0700
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Wed Jul 22 15:16:08 2015 -0700

----------------------------------------------------------------------
 dist/pom.xml | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/74969067/dist/pom.xml
----------------------------------------------------------------------
diff --git a/dist/pom.xml b/dist/pom.xml
index f1d671e..37cd5ba 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -76,6 +76,9 @@ limitations under the License.
                     <delete dir="target/sqoop-${project.version}"/>
                     <delete file="target/sqoop-${project.version}.tar.gz"/>
 
+                    <!-- Create dist dir -->
+                    <mkdir dir="target/sqoop-${project.version}"/>
+
                     <!-- Copy sources over -->
                     <copy todir="target/sqoop-${project.version}" includeEmptyDirs="false"
flatten="false">
                       <fileset dir="../">
@@ -90,9 +93,6 @@ limitations under the License.
                       </fileset>
                     </copy>
 
-                    <!-- Create dist dir -->
-                    <mkdir dir="target/sqoop-${project.version}"/>
-
                     <!-- Create final distribution tar -->
                     <tar destfile="target/sqoop-${project.version}.tar.gz" compression="gzip">
                       <tarfileset dir="target/sqoop-${project.version}" prefix="sqoop-${project.version}"
filemode="755">
@@ -138,17 +138,13 @@ limitations under the License.
                     <!-- Create dist dir -->
                     <mkdir dir="target/sqoop-${project.version}-bin-hadoop${hadoop.version}"/>
 
-                    <!-- Copy sources over -->
+                    <!-- Copy LICENSE, CHANGELOG, README and NOTICE over -->
                     <copy todir="target/sqoop-${project.version}-bin-hadoop${hadoop.version}"
includeEmptyDirs="false" flatten="false">
                       <fileset dir="../">
-                        <include name="**/*" />
-                        <exclude name="build/**" />
-                        <exclude name="**/target/**" />
-                        <exclude name=".git/**" />
-                        <exclude name="tags" />
-                        <exclude name="**/.project" />
-                        <exclude name="**/.classpath" />
-                        <exclude name="**/.settings/**" />
+                        <include name="**/LICENSE.txt" />
+                        <include name="**/CHANGELOG.txt" />
+                        <include name="**/README.txt" />
+                        <include name="**/NOTICE.txt" />
                       </fileset>
                     </copy>
 


Mime
View raw message