[
https://issues.apache.org/jira/browse/HIVE-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122606#comment-13122606
]
[email protected] commented on HIVE-2243:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2153/
-----------------------------------------------------------
(Updated 2011-10-07 08:08:55.722617)
Review request for hive and John Sichi.
Changes
-------
Updating diff with
https://issues.apache.org/jira/secure/attachment/12498125/HIVE-2243.2.patch.txt
Summary
-------
Fix for HIVE-2243. Can't publish maven release artifacts to apache repository.
With this patch in place I verified that I am able to publish to the snapshot
and staging repositories as follows:
% ant maven-build -Dmvn.publish.repo=snapshots
% ant maven-publish -Dmvn.publish.repo=snaphots
% ant maven-build -Dmvn.publish.repo=staging -Dversion=0.9.0
% ant maven-publish -Dmvn.publish.repo=staging -Dversion=0.9.0
I also confirmed that this patch applies cleanly to the 0.8.0 branch.
Please note that I had to move several taskdefs from build-common.xml
to build.xml in order to avoid OOM errors.
This addresses bug HIVE-2243.
https://issues.apache.org/jira/browse/HIVE-2243
Diffs (updated)
-----
ant/build.xml 17b3c3a
build-common.xml 9a738c9
build.xml 13b09c1
cli/build.xml add53e1
common/build.xml e8a0712
contrib/build.xml cf1711c
hbase-handler/build.xml 4990b13
hwi/build.xml 76bffa8
jdbc/build.xml 9d9a59e
metastore/build.xml 7f01f91
odbc/build.xml db9f4af
pdk/build.xml b1f6ed4
ql/build.xml ca8ba86
serde/build.xml 51ac8dd
service/build.xml 3c54625
shims/build.xml 9dadc8a
Diff: https://reviews.apache.org/r/2153/diff
Testing
-------
* Verified that I can publish maven artifacts to the snapshot and staging repos.
* Verified that the jar, package, and test targets still work.
Thanks,
Carl
> 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: Carl Steinbach
> Fix For: 0.8.0
>
> Attachments: HIVE-2243.1.patch.txt, HIVE-2243.2.patch.txt
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira