Review Board 1.7.22


SQOOP-703 Move sqoop 2 documentation to top level directory in binary artefact

Review Request #8364 - Created Dec. 5, 2012 and submitted

Jarek Cecho
SQOOP-703
Reviewers
Sqoop
sqoop-sqoop2
I've put improved distribution tarball to move generated documentation to expected location.
I've build binary artifact and webpages seems to be working as expected.

Diff revision 1 (Latest)

  1. dist/pom.xml: Loading...
dist/pom.xml
Revision f0c68ad9ac0b0064bbb2a1a65c7f3984ecbd299e New Change
[20] 142 lines
[+20]
143
                        <exclude name=".project" />
143
                        <exclude name=".project" />
144
                        <exclude name=".classpath" />
144
                        <exclude name=".classpath" />
145
                      </fileset>
145
                      </fileset>
146
                    </copy>
146
                    </copy>
147

    
   
147

   

    
   
148
                    <!-- Copy generated documentation (must be generated prior packing by calling mvn site!) -->

    
   
149
                    <copy todir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/docs" includeEmptyDirs="false" flatten="false">

    
   
150
                      <fileset dir="../docs/target/site">

    
   
151
                        <include name="**/*" />

    
   
152
                      </fileset>

    
   
153
                     </copy>

    
   
154

   
148
                    <!-- Build server directory -->
155
                    <!-- Build server directory -->
149
                    <get src="http://archive.apache.org/dist/tomcat/tomcat-${tomcat.majorVersion}/v${tomcat.version}/bin/apache-tomcat-${tomcat.version}.tar.gz"
156
                    <get src="http://archive.apache.org/dist/tomcat/tomcat-${tomcat.majorVersion}/v${tomcat.version}/bin/apache-tomcat-${tomcat.version}.tar.gz"
150
                         dest="target/apache-tomcat.tar.gz" verbose="true" skipexisting="true"/>
157
                         dest="target/apache-tomcat.tar.gz" verbose="true" skipexisting="true"/>
151
                    <untar src="target/apache-tomcat.tar.gz" dest="target" compression="gzip"/>
158
                    <untar src="target/apache-tomcat.tar.gz" dest="target" compression="gzip"/>
152
                    <move file="target/apache-tomcat-${tomcat.version}" tofile="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/server"/>
159
                    <move file="target/apache-tomcat-${tomcat.version}" tofile="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/server"/>
[+20] [20] 73 lines
  1. dist/pom.xml: Loading...