Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert the build from ant/ivy to maven #70

Merged
merged 8 commits into from
Jun 21, 2013
Merged

Conversation

sjlee
Copy link
Collaborator

@sjlee sjlee commented Jun 5, 2013

This changes the build from ant/ivy to maven. I believe it replicates most (if not all) of the build functionalities in maven. It should not result in a materially different build result.

@sjlee
Copy link
Collaborator Author

sjlee commented Jun 6, 2013

I'd love to get your feedback or review on this. Thanks!

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.hadoop.gplcompression</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we change this to com.twitter if we plan to publish to maven central?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good question. It's more for the "community" to chime in. Should we change the group id? If so, to what?

@sjlee
Copy link
Collaborator Author

sjlee commented Jun 11, 2013

Feedback on this? How about the group id? Shall we use a different group id than the current one? Changing the group id is fine, but the implication is we may have class collisions if an upstream project includes both this and the old hadoop-lzo (transitively).

@sjlee
Copy link
Collaborator Author

sjlee commented Jun 19, 2013

Ping?

@caniszczyk
Copy link
Contributor

Sorry, can you rebase the changes so the pull request can be merged?

If we don't use the 'com.twitter' groupId then we can't sync to central. I think it makes sense for us to use the com.twitter groupId because a) we kind of own this project b) we want to sync this to central

@sjlee
Copy link
Collaborator Author

sjlee commented Jun 20, 2013

Thanks Chris. The reason it cannot be merged automatically is not because it's not rebased properly but because a lot of files have been moved around (to conform to the standard maven directory layout). Once we resolve the group id discussion, I'd be happy to merge it myself.

@rangadi
Copy link
Contributor

rangadi commented Jun 20, 2013

I am not really sure if it is acceptable to change the group id to com.twitter. How about we continue to publish to mvn.twitter.com for now as we have been doing as we look into it?


<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[from Raghu] for hadoop dependency we can use 'hadoop-client' rather than common & mapred-core etc.
in Elephant-bird: https://github.com/kevinweil/elephant-bird/blob/master/pom.xml#L246

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could do that. "Hadoop-client" is a superset of hadoop-common + hadoop-mapreduce-client-core. However, as good hygiene, I would prefer to describe the exact direct dependencies. That would tend to keep your transitive dependencies slim and prevent dependency creep. The actual implication of using hadoop-client over the current is to pull in some additional hadoop jars (hdfs, mapreduce-client-app, mapreduce-client-common, mapreduce-client-jobclient, mapreduce-client-shuffle, yarn-client, and yarn-server-common). Obviously the current hadoop-lzo code base does not use them...

@sjlee
Copy link
Collaborator Author

sjlee commented Jun 20, 2013

+1. I would vote for merging it as is, and open a new issue for considering the group id change and continue the discussion. Thoughts?

@caniszczyk
Copy link
Contributor

+1 for the new issue

On Jun 20, 2013, at 5:58 PM, Sangjin Lee notifications@github.com wrote:

+1. I would vote for merging it as is, and open a new issue for considering
the group id change and continue the discussion. Thoughts?


Reply to this email directly or view it on
GitHubhttps://github.com//pull/70#issuecomment-19789042
.

@sjlee sjlee mentioned this pull request Jun 20, 2013
@sjlee
Copy link
Collaborator Author

sjlee commented Jun 20, 2013

I opened a new issue to discuss the group id issue. If you guys are OK with the changes, I'll merge this pull request. Let me know.

@caniszczyk
Copy link
Contributor

+1 form me

@sjlee
Copy link
Collaborator Author

sjlee commented Jun 21, 2013

Cool, thanks. I'll go ahead and merge it today.

sjlee pushed a commit that referenced this pull request Jun 21, 2013
@sjlee sjlee merged commit ca04a58 into twitter:master Jun 21, 2013
@sjlee sjlee deleted the sjlee-mavenize branch June 21, 2013 16:00
ashahab-altiscale pushed a commit to VertiPub/hadoop-lzo that referenced this pull request May 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants