hadoop-hive-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/HIVE-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerrit Jansen van Vuuren updated HIVE-1095:
-------------------------------------------

    Attachment: HIVE-1095-Sample.patch

Hi,

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

The maven upload is simpler for apache software foundation projects. 
The procedure for uploading is explained at http://www.apache.org/dev/release-publishing.html#repository-guide
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
etc.
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  people.apache.org:/www/people.apache.org/repo/m1-ibiblio-rsync-repository/org/apache/hadoop/hive/,
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/people.apache.org/repo/m1-ibiblio-rsync-repository/org/apache/hadoop/hive/
? 
 -> 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: https://issues.apache.org/jira/browse/HIVE-1095
>             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:
> http://maven.apache.org/guides/mini/guide-central-repository-upload.html

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


Mime
View raw message