[ 
https://issues.apache.org/jira/browse/HIVE-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072919#comment-13072919
 ] 

Giridharan Kesavan commented on HIVE-2243:
------------------------------------------

can someone try the following command with credentials in the .m2/settings.xml 
and post the output? ( I don't have repo access to verify this). 
{noformat}
ant clean maven-build maven-publish -Dmvn.publish.repo=staging -Dversion=0.8.0
{noformat}
This would publish the artifacts to the apache staging repo. we can delete them 
post publishing.. by logging on to the repository.apache.org.

If the command works then I would submit a patch for gpg signing.


> 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

        

Reply via email to