Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E14DE7264 for ; Mon, 1 Aug 2011 10:55:42 +0000 (UTC) Received: (qmail 21338 invoked by uid 500); 1 Aug 2011 10:55:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 20926 invoked by uid 500); 1 Aug 2011 10:55:37 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 20912 invoked by uid 500); 1 Aug 2011 10:55:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20908 invoked by uid 99); 1 Aug 2011 10:55:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 10:55:34 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 10:55:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C35FF98928 for ; Mon, 1 Aug 2011 10:55:09 +0000 (UTC) Date: Mon, 1 Aug 2011 10:55:09 +0000 (UTC) From: "Amareshwari Sriramadasu (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1894753091.22596.1312196109796.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <38583457.2737.1309284857158.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2243) Can't publish maven release artifacts to apache repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073490#comment-13073490 ] Amareshwari Sriramadasu commented on HIVE-2243: ----------------------------------------------- I'm not able run the command successfully. It gives Access denied error. {noformat} maven-publish-artifact: [artifact:install-provider] Installing provider: org.apache.maven.wagon:wagon-http:jar:1.0-beta-2:runtime [artifact:deploy] Deploying to https://repository.apache.org/content/repositories/staging [artifact:deploy] Uploading: org/apache/hive/hive-anttasks/0.8.0/hive-anttasks-0.8.0.jar to repository apache.staging.https at https://repository.apache.org/content/repositories/staging [artifact:deploy] Transferring 9K from apache.staging.https [artifact:deploy] An error has occurred while processing the Maven artifact tasks. [artifact:deploy] Diagnosis: [artifact:deploy] [artifact:deploy] Error deploying artifact 'org.apache.hive:hive-anttasks:jar': Error deploying artifact: Authorization failed: Access denied to: https://repository.apache.org/content/repositories/staging/org/apache/hive/hive-anttasks/0.8.0/hive-anttasks-0.8.0.jar {noformat} where as I'm able to publish to snapshots repo without any problems. > Can't publish maven release artifacts to apache repository > ---------------------------------------------------------- > > Key: HIVE-2243 > URL: https://issues.apache.org/jira/browse/HIVE-2243 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure > Affects Versions: 0.7.1 > Reporter: Carl Steinbach > Assignee: Giridharan Kesavan > > So far I haven't been able to push the maven artifacts to the Apache release repository. Here's the error I get: > {noformat} > % ant maven-publish -Dmvn.publish.repo=releases > ... > maven-publish-artifact: > [artifact:install-provider] Installing provider: org.apache.maven.wagon:wagon-http:jar:1.0-beta-2:runtime > [artifact:deploy] Deploying to https://repository.apache.org/content/repositories/releases > [artifact:deploy] Uploading: org/apache/hive/hive-anttasks/0.7.1/hive-anttasks-0.7.1.jar to repository apache.releases.https at https://repository.apache.org/content/repositories/releases > [artifact:deploy] Transferring 9K from apache.releases.https > [artifact:deploy] An error has occurred while processing the Maven artifact tasks. > [artifact:deploy] Diagnosis: > [artifact:deploy] > [artifact:deploy] Error deploying artifact 'org.apache.hive:hive-anttasks:jar': Error deploying artifact: Authorization failed: Access denied to: https://repository.apache.org/content/repositories/releases/org/apache/hive/hive-anttasks/0.7.1/hive-anttasks-0.7.1.jar > {noformat} > I get the same error when I try to publish to the staging repository. > I took another look at the Apache "Publishing Maven Artifacts" guide (http://www.apache.org/dev/publishing-maven-artifacts.html) and think that we're probably failing to include a couple fields that are required in the pom files. It also looks like we should be pushing this to the staging repository as opposed to the releases repository. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira