[
https://issues.apache.org/jira/browse/HCATALOG-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462906#comment-13462906
]
Travis Crawford commented on HCATALOG-132:
------------------------------------------
HCatalog does not explicitly depend on {{jdo2-api}} - its pulled in
transitively from
[hive-metastore-0.10.0-SNAPSHOT.pom|https://repository.apache.org/service/local/repositories/snapshots/content/org/apache/hive/hive-metastore/0.10.0-SNAPSHOT/hive-metastore-0.10.0-20120915.222113-96.pom]
Here's the dependency:
{code}
<dependency>
<groupId>javax.jdo</groupId>
<artifactId>jdo2-api</artifactId>
<version>2.3-ec</version>
<scope>compile</scope>
</dependency>
{code}
The way we deal with this in HCatalog's build is adding the "datanucleus" repo
in our pom file. This allows us to find the jar Hive is looking for.
http://svn.apache.org/viewvc/incubator/hcatalog/trunk/pom.xml?view=markup
There's a whole discussion to be had around Hive's dependencies and upgrading
to modern library versions (antlr, datanucleus, guava, ...), and only using
artifacts available in central, but let's treat that as a separate issue. For
now, I recommend adding the datanucleus repo to your resolver.
> 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
> Fix For: 0.5
>
> Attachments: HCATALOG-132_mvn_publish.1.patch
>
>
> 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