zeppelin/dev
AhyoungRyu b62e2e01bb [ZEPPELIN-2341] Remove -Psparkr build profile
### What is this PR for?
Currently users who build Zeppelin from source need to include `-Psparkr` to use `%r` with embedded local Spark. But it's quite inconvenient to write this build profile every time we build i think. So I removed `-Psparkr` and make `r` related libraries automatically downloaded when we build Zeppelin like I did #2213

### What type of PR is it?
Improvement

### Todos
* [x] - remove the rest of `-Psparkr` build profile in `dev/create_release.sh`, `dev/publish_release.sh`, and `docs/install/build.md` after #2213 merged

### What is the Jira issue?
[ZEPPELIN-2341](https://issues.apache.org/jira/browse/ZEPPELIN-2341)

### How should this be tested?
1. Apply this patch
2. Build source with below command
```
mvn clean package -DskipTests -pl 'zeppelin-interpreter, zeppelin-zengine, zeppelin-server, zeppelin-display, spark, spark-dependencies'

```
Aftr this step, there will be `R` dir under `ZEPPELIN_HOME/interpreter/spark`. Before this PR, only `dep` dir and `zeppelin-spark_2.10-0.8.0-SNAPSHOT.jar` is generated without `-Psparkr` build profile.

4. Restart Zeppelin. To make sure, run R tutorial note under `Zeppelin Tutorial` folder

It should be run successfully without any error

### Screenshots (if appropriate)
If we build without `-Psparkr`
- before : R related properties are not activated by default in Spark interpreter
![screen shot 2017-04-03 at 4 31 49 pm](https://cloud.githubusercontent.com/assets/10060731/24599560/b952e414-188b-11e7-80db-ac649c869c02.png)

 - after
![after](https://cloud.githubusercontent.com/assets/10060731/24599567/bc513a94-188b-11e7-9e93-7abca3428279.png)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: AhyoungRyu <fbdkdud93@hanmail.net>
Author: Ahyoung Ryu <ahyoungryu@apache.org>

Closes #2215 from AhyoungRyu/ZEPPELIN-2341/includeSparkRByDefault and squashes the following commits:

8db18cc [AhyoungRyu] Remove the rest of '-Psparkr' in docs & sh files
f891fd4 [Ahyoung Ryu] Merge branch 'master' into ZEPPELIN-2341/includeSparkRByDefault
445be3e [AhyoungRyu] Add SPARKR env to check each test case need to download r dep or not
67af02a [AhyoungRyu] Remove -PsparkR in travis file
a00466c [AhyoungRyu] Remove sparkr build profile in pom files
2017-04-07 00:55:26 +09:00
..
travis ZEPPELIN-160 Working with provided Spark, Hadoop. 2015-09-01 10:05:41 -07:00
change_scala_version.sh [ZEPPELIN-2139] Interpreters based on scala_2.11 aren't installed correctly 2017-03-07 14:05:31 +09:00
change_zeppelin_version.sh [ZEPPELIN-2101] Add zeppelin bump up and git tag script for release 2017-02-21 09:29:54 +09:00
common_release.sh [ZEPPELIN-2001] Publish Apache Zeppelin artifacts to snapshot repository 2017-03-21 12:04:05 +09:00
create_release.sh [ZEPPELIN-2341] Remove -Psparkr build profile 2017-04-07 00:55:26 +09:00
merge_zeppelin_pr.py [ZEPPELIN-980] Move git repository from incubator-zeppelin to zeppelin 2016-06-10 09:02:41 -07:00
publish_release.sh [ZEPPELIN-2341] Remove -Psparkr build profile 2017-04-07 00:55:26 +09:00
tag_release.sh [HOTFIX] Fix wrong variable name in tag script 2017-03-21 20:06:02 +09:00
test_zeppelin_pr.py [ZEPPELIN-1781] Failed to run the script 'test_zeppelin_pr.py' on Windows 10 2017-01-26 21:11:08 -08:00