[
https://issues.apache.org/jira/browse/PIG-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vimuth Fernando updated PIG-2599:
---------------------------------
Attachment: PIG-2599-wip.zip
I have moved further with the mavenization. For this version i have broken the
project into three modules
pig-main
-- pig
-- piggybank
-- pigmix
All projects have the following profiles
1. hadoop1 - for hadoop20 (Activated by default)
2. hadoop2 - for hadoop23
3. staging - for deploying into a staging repository
in "pig" module, tests are skipped by default. They can be activated using one
of the following test profiles
1. test-unit
2. test-core
3. test-commit
4. test-smoke
5. test-tez
So to run the tests use the following format : mvn verify -Phadoop1,test-unit
To deploy a SNAPSHOT version we can just use :
mvn deploy -Dgpg.passphrase=PASSPHRASE
with a version containing SNAPSHOT (if the passphrase is not entered maven will
prompt for it when needed)
But to deploy to staging repo we have use :
mvn deploy -Phadoop1,staging -Dgpg.passphrase=PASSPHRASE
And the version cannot have SNAPSHOT in it.
We should be able to use the procedure at [1] to do a release.
I have attached a patch(PIG-2599-wip.zip) with the modifications. It was
created against commit - c1a5bfcf455757bfbb2ee315a6bc30931d8c2f7f and may not
work after new commits because every single file in the repo needs to be moved.
TO-DO
1. Mavenize the e2e testing
2. break pigunit and smoketests into submodules and get rid of the dummy pom
files that are currently being used
[1]http://www.apache.org/dev/publishing-maven-artifacts.html
> Mavenize Pig
> ------------
>
> Key: PIG-2599
> URL: https://issues.apache.org/jira/browse/PIG-2599
> Project: Pig
> Issue Type: New Feature
> Components: build
> Reporter: Daniel Dai
> Assignee: Cheolsoo Park
> Labels: gsoc2014
> Fix For: 0.14.0
>
> Attachments: PIG-2599-wip.zip, maven-pig.1.zip, maven-wip.xml
>
>
> Switch Pig build system from ant to maven.
> This is a candidate project for Google summer of code 2014. More information
> about the program can be found at
> https://cwiki.apache.org/confluence/display/PIG/GSoc2014
--
This message was sent by Atlassian JIRA
(v6.2#6252)