I see 0.20.2 in the Nexus UI and download it from there but I can't
reach it via direct http, which is what maven would use -- Nexus
complains that 
https://repository.apache.org/content/repositories/orgapachehadoop-009/
doesn't exist and indeed it doesn't show up in the listing at
https://repository.apache.org/content/repositories

The build completed successfully after adding the following to the
repositories section maven/pom.xml file and bumping hadoop's version
to 0.20.2 (instead of snapshot).

    <repository>
      <id>Apache</id>
      
<url>https://repository.apache.org/service/local/repositories/orgapachehadoop-009/content</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </repository>

Not sure why it is not:
https://repository.apache.org/service/local/repositories/releases/content
(releases or staging vs. orgapachehadoop-009), but I'll chalk that up
to the fact that Chris hasn't pushed it there yet. As a result I can't
really comment on the permanacy of the repository above either.

Regardless, I'll post a patch on the jira so others can give it a whirl.

On Tue, Mar 9, 2010 at 6:54 PM, Benson Margulies <bimargul...@gmail.com> wrote:
> Guys, please give this a spon.
>
> ---------- Forwarded message ----------
> From: Chris Douglas <cdoug...@apache.org>
> Date: Tue, Mar 9, 2010 at 6:17 PM
> Subject: Re: Looking for a Hadoop PMC contact
> To: bimargul...@gmail.com
> Cc: Ian Holsman <li...@holsman.net>
>
>
> Benson/Ian-
>
> I've tried pushing artifacts to staging at repository.apache.org.
> Could you verify that it works for you? I'd like Giri to take a look
> at this before we publish it to the release repo, but if you could
> check this in the interim that would be great.
>
> Giri has been working on an ant target as you describe, HADOOP-6382. I
> used it to create and push these. If you have experience working with
> ant/ivy/maven, your review of this issue would help us commit it to
> 0.20.3 and speed future releases. Thanks -C
>
> On Tue, Mar 9, 2010 at 2:09 PM, Benson Margulies <bimargul...@gmail.com>
> wrote:
>> Now that I'm not pecking at an iPod, I think it would make sense for me to
>> explain myself to all of you.
>>
>> Mahout depends on Hadoop. Mahout uses Maven as a fundamental build tool
> and
>> releases, primarily, by pushing Maven artifacts. Mahout depends on the new
>> 0.20.2 release. Mahout wants to ship a release.
>>
>> The 0.20.2 release isn't (yet) published on the Maven release repository.
> So
>> the Mahout project is debating whether to make a private release of Hadoop
>> in Maven.
>>
>> I thought that this was not an ideal process -- one Apache project
>> publishing renamed artifacts from another Apache project. So I wanted to
>> communicate with the Hadoop PMC to see if I couldn't beg a favor of
> getting
>> 0.20.2 fully released in Maven.
>>
>> Looking forward, if it would be beneficial to get a patch to Hadoop that
>> includes the Maven Ant Task wiring to make this really easy, I'd be happy
> to
>> post such a patch.
>>
>

Reply via email to