[ https://issues.apache.org/jira/browse/HIVE-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021670#comment-13021670 ]
Amareshwari Sriramadasu commented on HIVE-1095: ----------------------------------------------- Now that INFRA ticket is resolved, I tried maven-publish for version 0.8.0-SNAPSHOT to repository apache.snapshots.https with repo url https://repository.apache.org/content/repositories/snapshots. I don't see 401 error any more. Could upload exec, serde, common, metastore jars successfully. You can see the uploaded jars at https://repository.apache.org/content/repositories/snapshots/org/apache/hive/ But, shims jar could not be uploaded as version number is not picked up properly, it fails with following 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/snapshots [artifact:deploy] Uploading: org/apache/hive/shims/working@mymachine/shims-work...@mymachine.jar to repository apache.snapshots.https at https://repository.apache.org/content/repositories/snapshots [artifact:deploy] Transferring 70K from apache.snapshots.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:shims:jar': Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/hive/shims/working@mymachine/shims-work...@mymachine.jar. Return code is: 400 {noformat} Here is successful upload console output: {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/snapshots [artifact:deploy] [INFO] Retrieving previous build number from apache.snapshots.https [artifact:deploy] [INFO] repository metadata for: 'snapshot org.apache.hive:metastore:0.8.0-SNAPSHOT' could not be found on repository: apache.snapshots.https, so will be created [artifact:deploy] Uploading: org/apache/hive/metastore/0.8.0-SNAPSHOT/metastore-0.8.0-20110419.165258-1.jar to repository apache.snapshots.https at https://repository.apache.org/content/repositories/snapshots [artifact:deploy] Transferring 1524K from apache.snapshots.https [artifact:deploy] Uploaded 1524K [artifact:deploy] [INFO] Uploading project information for metastore 0.8.0-20110419.165258-1 [artifact:deploy] [INFO] Retrieving previous metadata from apache.snapshots.https [artifact:deploy] [INFO] repository metadata for: 'snapshot org.apache.hive:metastore:0.8.0-SNAPSHOT' could not be found on repository: apache.snapshots.https, so will be created [artifact:deploy] [INFO] Uploading repository metadata for: 'snapshot org.apache.hive:metastore:0.8.0-SNAPSHOT' [artifact:deploy] [INFO] Retrieving previous metadata from apache.snapshots.https [artifact:deploy] [INFO] repository metadata for: 'artifact org.apache.hive:metastore' could not be found on repository: apache.snapshots.https, so will be created [artifact:deploy] [INFO] Uploading repository metadata for: 'artifact org.apache.hive:metastore' {noformat} Giri, any idea why shims jar is not picked up properly? Carl, can you try with the patch that you made changes? > Hive in Maven > ------------- > > Key: HIVE-1095 > URL: https://issues.apache.org/jira/browse/HIVE-1095 > Project: Hive > Issue Type: Task > Components: Build Infrastructure > Affects Versions: 0.6.0 > Reporter: Gerrit Jansen van Vuuren > Priority: Minor > Attachments: HIVE-1095-trunk.patch, HIVE-1095.v2.PATCH, > HIVE-1095.v3.PATCH, HIVE-1095.v4.PATCH, HIVE-1095.v5.PATCH, > hiveReleasedToMaven.tar.gz, make-maven.log > > > Getting hive into maven main repositories > Documentation on how to do this is on: > http://maven.apache.org/guides/mini/guide-central-repository-upload.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira