Mvnization of build #3

Merged
merged 4 commits into from Jan 9, 2012

Conversation

Projects
None yet
2 participants
@akkumar
Contributor

akkumar commented Jan 3, 2012

Build using the maven utility.

Currently depends on the cdh maven repository to pull the flume related artifacts .

thrift generated files are deleted from the plugin code as well, as they seem to be available in the latest distribution 1.0.6 .

@thobbs

This comment has been minimized.

Show comment Hide comment
@thobbs

thobbs Jan 9, 2012

Owner

Thanks!

I'm not terribly familiar with Maven. When using this build system, what steps do you need to take to get the plugin built and working with Flume? Specifically, should you just use mvn package to build, and do you still just need to add flume-cassandra-plugin-1.0.0.jar and jug-asl-2.0.0.jar to FLUME_CLASSPATH?

Owner

thobbs commented Jan 9, 2012

Thanks!

I'm not terribly familiar with Maven. When using this build system, what steps do you need to take to get the plugin built and working with Flume? Specifically, should you just use mvn package to build, and do you still just need to add flume-cassandra-plugin-1.0.0.jar and jug-asl-2.0.0.jar to FLUME_CLASSPATH?

@akkumar

This comment has been minimized.

Show comment Hide comment
@akkumar

akkumar Jan 9, 2012

Contributor

That is correct. Changing the build from ant to mvn should not change the
dependencies of the project, yet.

Adding those 2 jars , as before, is the right thing to do.

(If ever there are tests in mvn and they fail , a quick shortcut would be
to: mvn -DskipTests package , although in real world we would want tests
to work for sure , before packaging :) ) .

Karthik.

On Mon, Jan 9, 2012 at 10:27 AM, Tyler Hobbs <
reply@reply.github.com

wrote:

Thanks!

I'm not terribly familiar with Maven. When using this build system, what
steps do you need to take to get the plugin built and working with Flume?
Specifically, should you just use mvn package to build, and do you
still just need to add flume-cassandra-plugin-1.0.0.jar and
jug-asl-2.0.0.jar to FLUME_CLASSPATH?


Reply to this email directly or view it on GitHub:

#3 (comment)

Contributor

akkumar commented Jan 9, 2012

That is correct. Changing the build from ant to mvn should not change the
dependencies of the project, yet.

Adding those 2 jars , as before, is the right thing to do.

(If ever there are tests in mvn and they fail , a quick shortcut would be
to: mvn -DskipTests package , although in real world we would want tests
to work for sure , before packaging :) ) .

Karthik.

On Mon, Jan 9, 2012 at 10:27 AM, Tyler Hobbs <
reply@reply.github.com

wrote:

Thanks!

I'm not terribly familiar with Maven. When using this build system, what
steps do you need to take to get the plugin built and working with Flume?
Specifically, should you just use mvn package to build, and do you
still just need to add flume-cassandra-plugin-1.0.0.jar and
jug-asl-2.0.0.jar to FLUME_CLASSPATH?


Reply to this email directly or view it on GitHub:

#3 (comment)

@thobbs thobbs merged commit 2888884 into thobbs:master Jan 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment