Repository: sqoop Updated Branches: refs/heads/sqoop2 88588a8b4 -> 223bfcc0c
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/223bfcc0 Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/223bfcc0 Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/223bfcc0 Branch: refs/heads/sqoop2 Commit: 223bfcc0cb869c1855056d21824408484371535d Parents: 88588a8 Author: Abraham Elmahrek <[email protected]> Authored: Tue Feb 17 12:13:55 2015 -0800 Committer: Abraham Elmahrek <[email protected]> Committed: Tue Feb 17 12:13:55 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/223bfcc0/common/pom.xml ---------------------------------------------------------------------- diff --git a/common/pom.xml b/common/pom.xml index 9e593b2..ecd42bc 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/223bfcc0/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index d48389e..f9167df 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/223bfcc0/security/pom.xml ---------------------------------------------------------------------- diff --git a/security/pom.xml b/security/pom.xml index e4e61cc..90bff20 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/223bfcc0/shell/pom.xml ---------------------------------------------------------------------- diff --git a/shell/pom.xml b/shell/pom.xml index e48c86a..0288d0d 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>
