You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Nitay Joffe (JIRA)" <ji...@apache.org> on 2012/10/03 03:40:07 UTC

[jira] [Updated] (GIRAPH-346) Top Level POM

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

Nitay Joffe updated GIRAPH-346:
-------------------------------

    Attachment: GIRAPH-346.patch

Here's first stab at this. There should be no logic change here.

The main module is under giraph, as I wanted to keep the module names the same as the artifactId. We might want to change these to something else like giraph-main, giraph-formats?

The main sources are copied from src/ to giraph/src.

The top level POM contains as much common settings as I could put in.

This passes mvn clean verify.

https://reviews.apache.org/r/7404/
                
> Top Level POM
> -------------
>
>                 Key: GIRAPH-346
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-346
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>            Priority: Minor
>         Attachments: GIRAPH-346.patch
>
>
> Most Maven projects that have multiple modules (as we do with main / formats) have a top level pom.xml. This allows you avoid redundancy and also to build everything from top level all at once. I'm using a lot of the formats stuff, especially playing with hive / hcatalog and it's a pain having to constantly compile everything twice.
> So I propose we move all the main code under a subdir, say giraph/ or main/. Then add a pom.xml that both the giraph/ and the formats/ subdirs can point to.
> Note we will still build completely separate jars. If people want to just build giraph-main without formats they can do so directly from the subdirectory.
> Let me know if you guys +1 the idea and I'll whip it up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira