GitHub user pwendell opened a pull request:
https://github.com/apache/spark/pull/49
SPARK-1121: Use 'avro' profile in Maven.
This lets us explicitly include Avro based on a profile for 0.23.X
builds. It makes me sad how convoluted it is to express this logic
in Maven. @tgraves and @sryza curious if this works for you.
I'm also considering just reverting to how it was before. The only
real problem was that Spark advertised a dependency on Avro
even though it only really depends transitively on Avro through
other deps.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pwendell/spark avro-build-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/49.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #49
----
commit 6faab259b6fe5cc58a8ffd2d53ca7e1a828359dc
Author: Patrick Wendell <[email protected]>
Date: 2014-02-28T19:56:41Z
SPARK-1121: Use 'avro' profile in Maven.
This lets us explicitly include Avro based on a profile for 0.23.X
builds. It makes me sad how convoluted it is to express this logic
in Maven.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---