hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerrit Jansen van Vuuren (JIRA)" <>
Subject [jira] Updated: (HIVE-1095) Hive in Maven
Date Tue, 02 Mar 2010 15:04:30 GMT


Gerrit Jansen van Vuuren updated HIVE-1095:

    Attachment: HIVE-1095-Sample.patch


I've finally got around to doing writing the ant tasks needed to help deploy hive jars to

The maven upload is simpler for apache software foundation projects. 
The procedure for uploading is explained at
and this is what the ant tasks in the patch does.

1. The patch changes ivy.xml files to include a info tag with licence information.
2. uses a makepom task that will generate the pom.xml file for each sub project i.e. ql. shims
3. prepare the maven deploy 
    a. by creating a build/maven directory,
    b. copying the jar files like hive_exec.jar and naming them hive-exec-${version}.jar
    c. copying the pom.xml files
    d. copying over the apache 2 licence (hope this is the correct licence.
    e. creating the required checksums for all files in the build/maven directory

So to use this and generate the contents for the build/maven directory that will contain jars,
poms, and licences folder just run the prepare-maven-publish task.
The final task is the maven-publish task that does a scp to,
if the poms,jars, and licences folders are in here it will automatically be synced with the
main maven repo.

I have some questions:
 -> Do you guys have access to the /www/
 -> Is the assumption correct that hive uses the APACHE 2.0 licence?
 -> Would somebody be able to apply this patch after review (not commit) but just to generate
the jars,poms for the hive-4x release to deploy this to maven and then for the hive-5x release?


> Hive in Maven
> -------------
>                 Key: HIVE-1095
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Task
>          Components: Build Infrastructure
>            Reporter: Gerrit Jansen van Vuuren
>            Priority: Minor
>         Attachments: HIVE-1095-Sample.patch
> Getting hive into maven main repositories
> Documentation on how to do this is on:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message