GitHub user brkyvz opened a pull request:
https://github.com/apache/spark/pull/5790
[SPARK-7224] added mock repository generator for --packages tests
This patch contains an `IvyTestUtils` file, which dynamically generates
jars and pom files to test the `--packages` feature without having to rely on
the internet, and Maven Central.
cc @pwendell I know that there existed Util functions to create Jars and
stuff already, but they didn't really serve my purposes as they appended random
prefixes that was breaking things.
I also added the local repository tests. Notice that they work without
passing the `repo` to `resolveMavenCoordinates`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brkyvz/spark maven-utils
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5790.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 #5790
----
commit 7476d06c3dfa46f646d7d1bf5d142760e67e81d0
Author: Burak Yavuz <[email protected]>
Date: 2015-04-29T21:46:36Z
added mock repository generator
commit 172dfef33c35570b61e7afee498d0ea9b2a17f3b
Author: Burak Yavuz <[email protected]>
Date: 2015-04-29T21:53:56Z
use Ivy format
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]