sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject sqoop git commit: SQOOP-2109: Sqoop2: Shell module is including test dependencies when building binary artifact
Date Tue, 17 Feb 2015 20:15:29 GMT
Repository: sqoop
Updated Branches:
  refs/heads/branch-1.99.5 37480a82c -> da542488f


SQOOP-2109: Sqoop2: Shell module is including test dependencies when building binary artifact

(Jarek Jarcec Cecho via Abraham Elmahrek)


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

Branch: refs/heads/branch-1.99.5
Commit: da542488f49d3f178f23aae6d6dc115c169049c1
Parents: 37480a8
Author: Abraham Elmahrek <abe@apache.org>
Authored: Tue Feb 17 12:13:55 2015 -0800
Committer: Abraham Elmahrek <abe@apache.org>
Committed: Tue Feb 17 12:15:07 2015 -0800

----------------------------------------------------------------------
 common/pom.xml   |  1 +
 pom.xml          | 13 +++++++++++++
 security/pom.xml |  6 ++++++
 shell/pom.xml    |  8 ++++++++
 4 files changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/da542488/common/pom.xml
----------------------------------------------------------------------
diff --git a/common/pom.xml b/common/pom.xml
index 29a6503..99884b3 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -35,6 +35,7 @@ limitations under the License.
     <dependency>
       <groupId>org.apache.sqoop</groupId>
       <artifactId>sqoop-common-test</artifactId>
+      <scope>test</scope>
     </dependency>
 
     <dependency>

http://git-wip-us.apache.org/repos/asf/sqoop/blob/da542488/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b1c20a9..f0c3d86 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,13 +123,21 @@ limitations under the License.
     <jackson.databind.version>2.2.2</jackson.databind.version>
     <jackson.annotations.version>2.2.2</jackson.annotations.version>
     <avro.version>1.7.7</avro.version>
+    <jcommander.version>1.27</jcommander.version>
   </properties>
 
   <dependencies>
+
     <dependency>
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.testng</groupId>
+      <artifactId>testng</artifactId>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
 
   <!-- Profiles for various supported Hadoop distributions -->
@@ -469,6 +477,11 @@ limitations under the License.
         <version>${jdbc.postgresql.version}</version>
       </dependency>
       <dependency>
+        <groupId>com.beust</groupId>
+        <artifactId>jcommander</artifactId>
+        <version>${jcommander.version}</version>
+      </dependency>
+      <dependency>
         <groupId>com.oracle</groupId>
         <artifactId>ojdbc14</artifactId>
         <version>${jdbc.oracle.version}</version>

http://git-wip-us.apache.org/repos/asf/sqoop/blob/da542488/security/pom.xml
----------------------------------------------------------------------
diff --git a/security/pom.xml b/security/pom.xml
index 5059f4b..bb5475f 100644
--- a/security/pom.xml
+++ b/security/pom.xml
@@ -39,5 +39,11 @@ limitations under the License.
       <artifactId>hadoop-common</artifactId>
       <scope>provided</scope>
     </dependency>
+
+    <dependency>
+      <groupId>com.beust</groupId>
+      <artifactId>jcommander</artifactId>
+    </dependency>
+
   </dependencies>
 </project>

http://git-wip-us.apache.org/repos/asf/sqoop/blob/da542488/shell/pom.xml
----------------------------------------------------------------------
diff --git a/shell/pom.xml b/shell/pom.xml
index a2a5a8c..6726fa9 100644
--- a/shell/pom.xml
+++ b/shell/pom.xml
@@ -59,6 +59,12 @@ limitations under the License.
       <groupId>jline</groupId>
       <artifactId>jline</artifactId>
       <version>0.9.94</version>
+      <exclusions>
+        <exclusion>
+          <groupId>junit</groupId>
+          <artifactId>junit</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.fusesource.jansi</groupId>
@@ -90,6 +96,8 @@ limitations under the License.
                   <goal>copy-dependencies</goal>
                 </goals>
                 <configuration>
+                  <includeScope>runtime</includeScope>
+                  <excludeScope>test</excludeScope>
                   <outputDirectory>${project.build.directory}/lib</outputDirectory>
                 </configuration>
               </execution>


Mime
View raw message