[
https://issues.apache.org/jira/browse/HCATALOG-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455446#comment-13455446
]
Travis Crawford commented on HCATALOG-132:
------------------------------------------
Status update:
Success! I have a fully functioning branch that publishes HCatalog to maven
repos. Sonatype offers a free version of Nexus (the same repo manager used by
Apache) that I have running locally and can publish artifacts.
There are two invocations, with/without singing the artifacts. We'll want to
publish unsigned artifacts as snapshots from Jenkins after each successful
build. Major releases would be signed by whoever does that sort of thing for
the project.
By default, the project settings configure the Apache snapshots repo as the
deploy destination, however, as we see here that can be overridden to publish
to the releases repo, an internal repo, local, etc.
{code}
ant clean package mvn-deploy \
-Dmvn.deploy.repo.id=nexus.local \
-Dmvn.deploy.repo.url=http://localhost:8081/nexus/content/repositories/snapshots/
ant clean package mvn-deploy-signed \
-Dmvn.deploy.repo.id=nexus.local \
-Dmvn.deploy.repo.url=http://localhost:8081/nexus/content/repositories/snapshots/
{code}
This patch depends on HCATALOG-461 which is why I'm not submitting the patch
yet, so once that's in I'll update the following branch and post this for
review.
https://github.com/traviscrawford/hcatalog/tree/HCATALOG-132_publish_to_maven_2
> Add HCatalog to Maven Repository
> --------------------------------
>
> Key: HCATALOG-132
> URL: https://issues.apache.org/jira/browse/HCATALOG-132
> Project: HCatalog
> Issue Type: New Feature
> Reporter: David Capwell
> Assignee: Travis Crawford
> Labels: maven
>
> HCat should be in maven main repositories
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira