Review Board 1.7.22


SQOOP-756 Sqoop2: Exclude junit jar from our binary artifact

Review Request #8462 - Created Dec. 11, 2012 and submitted

Jarek Cecho
SQOOP-756
Reviewers
Sqoop
sqoop-sqoop2
I've removed junit jar from our binary artifact.

 

Diff revision 1 (Latest)

  1. dist/pom.xml: Loading...
dist/pom.xml
Revision 4aeee4ada27a597186e39a303d964cd869a5c1c0 New Change
[20] 171 lines
[+20]
172
                    <copy file="../server/target/sqoop.war"
172
                    <copy file="../server/target/sqoop.war"
173
                      toDir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/server/webapps"/>
173
                      toDir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/server/webapps"/>
174

    
   
174

   
175
                    <!-- Build client directory -->
175
                    <!-- Build client directory -->
176
                    <copy todir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/client/lib">
176
                    <copy todir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/client/lib">
177
                      <fileset dir="../client/target/lib"/>
177
                      <fileset dir="../client/target/lib">

    
   
178
                        <include name="*.jar" />

    
   
179
                        <exclude name="junit-*.jar" />

    
   
180
                      </fileset>
178
                    </copy>
181
                    </copy>
179
                    <copy file="../client/target/sqoop-client-${project.version}.jar"
182
                    <copy file="../client/target/sqoop-client-${project.version}.jar"
180
                      toDir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/client/lib"/>
183
                      toDir="target/sqoop-${project.version}-bin-hadoop${hadoop.profile}/client/lib"/>
181

    
   
184

   
182
                    <!-- Build "bin" directory -->
185
                    <!-- Build "bin" directory -->
[+20] [20] 50 lines
  1. dist/pom.xml: Loading...