5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-08 12:01:09 +08:00

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

(Dian Fu via Jarek Jarcec Cecho)
This commit is contained in:
Jarek Jarcec Cecho 2015-07-22 15:16:08 -07:00
parent 3dc19d6f0f
commit 749690679f

20
dist/pom.xml vendored
View File

@ -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>