[
https://issues.apache.org/jira/browse/HADOOP-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643411#action_12643411 ]
haebin edited comment on HADOOP-3676 at 10/28/08 10:17 PM:
------------------------------------------------------------------------
Oops again,
0.20.0 already using it.
why don't you close this issue.
this is not a blocker anymore rite?
------------------------------------------------------------------------------------------------------------------------------
Oops,
what I was trying to say was that you could use snapshot release.
You can depend on the both versions since they use different package name. (I tested with my pom file)
-------------------------------------------------------------------------------------------------------------------------------
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.
was (Author: haebin):
Oops,
what I was trying to say was that you could use snapshot release.
You can depend on the both versions since they use different package name. (I tested with my pom file)
-------------------------------------------------------------------------------------------------------------------------------
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-3676Project: 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.