[
https://issues.apache.org/jira/browse/HCATALOG-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531646#comment-13531646
]
Travis Crawford commented on HCATALOG-569:
------------------------------------------
Hey [~amalakar] - correct, maven builds don't work. They never have, actually.
Background: HCatalog started as a single source tree and we've been working
towards refactoring into submodules. The primary goal for that work is
publishing artifacts with "lots of fellow travelers" separately, so people can
better manage their dependencies. For example, originally hcatalog.jar depended
on Pig, HBase, JMS, etc. Now if you don't need pig support you don't need to
include that jar.
Since publishing artifacts to maven with correct dependencies requires a POM
file, we switched to resolving dependencies with maven-ant-tasks and only
maintaining that info in pom files, rather than generating them. So I can see
why one would think you can build with maven as there are pom files. Sadly,
that's not yet the case.
THAT SAID, I'd love to work with you to fix these issues you point out, such as
the circular dependency between core and pig-adapter. If that's something you
wanted to work on I'd hop all over that reviewboard.
> Maven build fails in turnk
> --------------------------
>
> Key: HCATALOG-569
> URL: https://issues.apache.org/jira/browse/HCATALOG-569
> Project: HCatalog
> Issue Type: Bug
> Reporter: Arup Malakar
>
> Hi,
> I see that:
> {code}
> mvn clean package -Phadoop23
> {code}
> fails in trunk.
> Couple of observations:
> 1. *Missing hadoop-test for hadoop23 profile*:
> Test code in core depends on _MiniMRCluster_, and the compilation fails when
> mvn is ran with -Phadoop23 profile.
> I see that _MiniMRCluster_ is present in _hadoop-test_ artifact. But I don't
> see a hadoop-test artifact being available for hadoop 23:
> https://repository.apache.org/index.html#nexus-search;quick~hadoop-test
> Question: Is it okay to include _1.0.3_ version of hadoop-test in case of
> hadoop23 profile as well?
> 2. *Circular dependency between core and hcatalog-pig-adapter*
> I observed core has test cases which requires *HCatLoader* which is available
> in *hcatalog-pig-adapter*. On the other hand *hcatalog-pig-adapter* depends
> on core.
--
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