hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederick Haebin Na (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3676) Remove Hadoop's dependance on the cli 2 snapshot
Date Wed, 29 Oct 2008 04:40:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643411#action_12643411
] 

Frederick Haebin Na commented on HADOOP-3676:
---------------------------------------------

Add following scripts in the pom.

<repositories>
	<repository>
		  <id>apache snapshot</id> 
		  <url>http://people.apache.org/repo/m2-snapshot-repository</url> 
	  </repository>
 </repositories>

...

<dependencies>
    ...
    <!--CLI is needed to scan the command line, but only the 1.0 branch is released -->
    <dependency>
      <groupId>commons-cli</groupId>
      <artifactId>commons-cli</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-cli</artifactId>
      <version>2.0-SNAPSHOT</version>
    </dependency>
   ...
</dependencies>



Then, you will be able to use the both versions of commons-cli.

> Remove Hadoop's dependance on the cli 2 snapshot
> ------------------------------------------------
>
>                 Key: HADOOP-3676
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3676
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: util
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> Currently, the Hadoop release includes a jar of the Apache commons-cli from a snapshot
of 2.0. Hadoop isn't getting a major benefit from the 2.0 api, which in fact is pretty buggy,
and we should just roll back to the cli 1.1 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message