You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Viral Bajaria <vi...@gmail.com> on 2012/12/05 11:40:59 UTC

hive maven install

Hi,

I downloaded hive 0.9.0 source and wanted to compile it for hadoop 0.23.4,
I ended up using the -Dhadoop.version info found at HIVE-2468 and was able
to package it.

I wanted to push this to my local maven repository (not nexus), is there an
easy way to do it ? I tried maven-publish but that was trying to do it to
my localhost:8081/nexus, is this due to nexus being listed as a repo in my
settings.xml ?

Thanks,
Viral

Re: hive maven install

Posted by Nitin Pawar <ni...@gmail.com>.
in either case, once you have jar buiilt, you can use maven command line to
deploy by yourself to maven repo


On Wed, Dec 5, 2012 at 4:48 PM, Viral Bajaria <vi...@gmail.com>wrote:

> Actually I am using the ant build targets and not maven. I don't think
> hive is fully mavenized as yet (github repo does not have pom.xml), it has
> ant targets which help you do all the maven stuff.
>
> The plugin that you suggest is for maven and not for ant.
>
>
> On Wed, Dec 5, 2012 at 3:14 AM, Nitin Pawar <ni...@gmail.com>wrote:
>
>>
>>
>> you will need to use maven deploy plugin
>>
>> http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
>>
>>
>> On Wed, Dec 5, 2012 at 4:10 PM, Viral Bajaria <vi...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> I downloaded hive 0.9.0 source and wanted to compile it for hadoop
>>> 0.23.4, I ended up using the -Dhadoop.version info found at HIVE-2468 and
>>> was able to package it.
>>>
>>> I wanted to push this to my local maven repository (not nexus), is there
>>> an easy way to do it ? I tried maven-publish but that was trying to do it
>>> to my localhost:8081/nexus, is this due to nexus being listed as a repo in
>>> my settings.xml ?
>>>
>>> Thanks,
>>> Viral
>>>
>>
>>
>>
>> --
>> Nitin Pawar
>>
>>
>


-- 
Nitin Pawar

Re: hive maven install

Posted by Viral Bajaria <vi...@gmail.com>.
Actually I am using the ant build targets and not maven. I don't think hive
is fully mavenized as yet (github repo does not have pom.xml), it has ant
targets which help you do all the maven stuff.

The plugin that you suggest is for maven and not for ant.

On Wed, Dec 5, 2012 at 3:14 AM, Nitin Pawar <ni...@gmail.com> wrote:

>
>
> you will need to use maven deploy plugin
>
> http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
>
>
> On Wed, Dec 5, 2012 at 4:10 PM, Viral Bajaria <vi...@gmail.com>wrote:
>
>> Hi,
>>
>> I downloaded hive 0.9.0 source and wanted to compile it for hadoop
>> 0.23.4, I ended up using the -Dhadoop.version info found at HIVE-2468 and
>> was able to package it.
>>
>> I wanted to push this to my local maven repository (not nexus), is there
>> an easy way to do it ? I tried maven-publish but that was trying to do it
>> to my localhost:8081/nexus, is this due to nexus being listed as a repo in
>> my settings.xml ?
>>
>> Thanks,
>> Viral
>>
>
>
>
> --
> Nitin Pawar
>
>

Re: hive maven install

Posted by Nitin Pawar <ni...@gmail.com>.
you will need to use maven deploy plugin

http://maven.apache.org/plugins/maven-deploy-plugin/usage.html


On Wed, Dec 5, 2012 at 4:10 PM, Viral Bajaria <vi...@gmail.com>wrote:

> Hi,
>
> I downloaded hive 0.9.0 source and wanted to compile it for hadoop 0.23.4,
> I ended up using the -Dhadoop.version info found at HIVE-2468 and was able
> to package it.
>
> I wanted to push this to my local maven repository (not nexus), is there
> an easy way to do it ? I tried maven-publish but that was trying to do it
> to my localhost:8081/nexus, is this due to nexus being listed as a repo in
> my settings.xml ?
>
> Thanks,
> Viral
>



-- 
Nitin Pawar