sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject git commit: SQOOP-710 Fall back to released version of commons-cli 1.2 (Jarek Jarcec Cecho)
Date Mon, 19 Nov 2012 19:10:39 GMT
Updated Branches:
  refs/heads/sqoop2 145b585e8 -> 878a7b8ae


SQOOP-710 Fall back to released version of commons-cli 1.2
(Jarek Jarcec Cecho)


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

Branch: refs/heads/sqoop2
Commit: 878a7b8aea99a0db8e40f56b9cd9aa26f54b9147
Parents: 145b585
Author: Bilung Lee <blee@apache.org>
Authored: Mon Nov 19 11:03:24 2012 -0800
Committer: Bilung Lee <blee@apache.org>
Committed: Mon Nov 19 11:03:24 2012 -0800

----------------------------------------------------------------------
 client/pom.xml                                     |    2 +-
 .../apache/sqoop/client/shell/SqoopFunction.java   |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/878a7b8a/client/pom.xml
----------------------------------------------------------------------
diff --git a/client/pom.xml b/client/pom.xml
index 235dcea..ce453f4 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -40,7 +40,7 @@ limitations under the License.
     <dependency>
       <groupId>commons-cli</groupId>
       <artifactId>commons-cli</artifactId>
-      <version>1.3-SNAPSHOT</version>
+      <version>1.2</version>
     </dependency>
     <dependency>
       <groupId>commons-lang</groupId>

http://git-wip-us.apache.org/repos/asf/sqoop/blob/878a7b8a/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java b/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
index af0579d..200b3ee 100644
--- a/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
+++ b/client/src/main/java/org/apache/sqoop/client/shell/SqoopFunction.java
@@ -23,7 +23,7 @@ import java.util.List;
 
 import org.apache.commons.cli.CommandLine;
 import org.apache.commons.cli.CommandLineParser;
-import org.apache.commons.cli.DefaultParser;
+import org.apache.commons.cli.GnuParser;
 import org.apache.commons.cli.HelpFormatter;
 import org.apache.commons.cli.Options;
 import org.apache.commons.cli.ParseException;
@@ -51,7 +51,7 @@ public class SqoopFunction extends Options
       args[i - start] = iterator.next();
     }
 
-    CommandLineParser parser = new DefaultParser();
+    CommandLineParser parser = new GnuParser();
     CommandLine line;
     try {
       line = parser.parse(options, args);
@@ -60,4 +60,4 @@ public class SqoopFunction extends Options
     }
     return line;
   }
-}
\ No newline at end of file
+}


Mime
View raw message