aboutsummaryrefslogtreecommitdiff
path: root/core/pom.xml
diff options
context:
space:
mode:
authorShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-06-01 21:21:45 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-06-01 21:21:45 -0700
commitcae9306c4f437c722baa57593fe83f4b7d82dbff (patch)
tree4516af823da950265843cec654b95a48219b0b83 /core/pom.xml
parent89f642a0e8c3a6bc9149a0bb413f1a8939cb0283 (diff)
downloadspark-cae9306c4f437c722baa57593fe83f4b7d82dbff.tar.gz
spark-cae9306c4f437c722baa57593fe83f4b7d82dbff.tar.bz2
spark-cae9306c4f437c722baa57593fe83f4b7d82dbff.zip
[SPARK-8027] [SPARKR] Add maven profile to build R package docs
Also use that profile in create-release.sh cc pwendell -- Note that this means that we need `knitr` and `roxygen` installed on the machines used for building the release. Let me know if you need help with that. Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu> Closes #6567 from shivaram/SPARK-8027 and squashes the following commits: 8dc8ecf [Shivaram Venkataraman] Add maven profile to build R package docs Also use that profile in create-release.sh
Diffstat (limited to 'core/pom.xml')
-rw-r--r--core/pom.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/pom.xml b/core/pom.xml
index 5c02be831c..a02184222e 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -481,6 +481,29 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>sparkr-docs</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sparkr-pkg-docs</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <executable>..${path.separator}R${path.separator}create-docs${script.extension}</executable>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>