GitHub user brennonyork opened a pull request:
https://github.com/apache/spark/pull/3707
[SPARK-4501][Core] - Create build/mvn to automatically download
maven/zinc/scalac
Creates a top level directory script (as `build/mvn`) to automatically
download zinc and the specific version of scala used to easily build spark.
This will also download and install maven if the user doesn't already have it
and all packages are hosted under the `build/` directory. Tested on both Linux
and OSX OS's and both work. All commands pass through to the maven binary so it
acts exactly as a traditional maven call would.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brennonyork/spark SPARK-4501
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3707.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 #3707
----
commit cbfcc686b207a3e7e7bb20577248415ee2cdf41c
Author: Brennon York <[email protected]>
Date: 2014-12-08T22:32:34Z
Changed the default sbt/sbt to build/sbt and added a build/mvn which will
automatically download, install, and execute maven with zinc for easier build
capability
commit 4a1609cc2860575f93a4747fd6bf14118d30530b
Author: Brennon York <[email protected]>
Date: 2014-12-09T01:12:19Z
finalizing working linux install for maven to local ./build/apache-maven
folder
commit 69c4e4467ac82d1e4725f4a3a3a576d1fd63fafd
Author: Brennon York <[email protected]>
Date: 2014-12-09T06:14:58Z
working linux and osx installers for purely local mvn build
commit f914dea7dccf2749769327c14218aa9560a54487
Author: Brennon York <[email protected]>
Date: 2014-12-11T18:07:09Z
Beginning final portions of localized scala home
commit 07bf0185d3d52b5b087e7294f6c5e60a8132f6e8
Author: Brennon York <[email protected]>
Date: 2014-12-15T19:23:52Z
Updated to specifically handle pulling down the correct scala version
commit ef017e6fd689a2d9a44acbd8f5311b6fff4b2124
Author: Brennon York <[email protected]>
Date: 2014-12-15T22:32:00Z
removed OS complexities, setup generic install_app call, removed extra file
complexities, removed help, removed forced install (defaults now), removed
double-dash from cli
commit bb8cc9dac0f704f230873163ce877ca38880f51f
Author: Brennon York <[email protected]>
Date: 2014-12-15T22:32:29Z
removed package files
commit a680d12c9275afb9277aa0965a0b0da7084ad361
Author: Brennon York <[email protected]>
Date: 2014-12-15T23:03:44Z
Added comments to functions and tested various mvn calls
commit 3e8b9b3aaae0a59b23d3eb30c71ee1eacecac0fa
Author: Brennon York <[email protected]>
Date: 2014-12-15T23:37:08Z
updated to properly only restart zinc if it was freshly installed
commit 1af4a945336cac7d4aebd8286530f5b83833f8ce
Author: Brennon York <[email protected]>
Date: 2014-12-15T23:40:29Z
fixed bug with uppercase vs lowercase variable
commit 14a5da089ed43eab1ca99efcc81e1dc5bea25a36
Author: Brennon York <[email protected]>
Date: 2014-12-15T23:45:36Z
removed unnecessary zinc output on startup
----
---
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]