Using Hive in a maven project

Posted by Jason on Stack Overflow See other posts from Stack Overflow or by Jason
Published on 2011-06-24T23:55:49Z Indexed on 2011/06/25 0:23 UTC
Read the original article Hit count: 295

Filed under:
|
|

I have a project that I am migrating from ant to maven. The project makes use of a lightly-customized Hive build. I figured I would just import this build into our internal maven repo and list it as a dependency in the project's pom file. The problem I'm running into is that the Hive build just generates a bunch of jars in build/dist/lib. Some of these are the core Hive jars themselves and some are jars that Hive depends on. What's the best way to deal with these? Should I put all the core hive jars into our internal repo and just deal with undocumented dependencies in the new project's pom file? Or just jar up everything as a jar of jars and deploy that to the repo? Would that approach even work? Kind of a maven newbie still, thanks for any help.

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about maven