Keep online resources configurable

This commit is contained in:
andrea 2017-07-11 14:55:01 +01:00
parent ebb6591d84
commit 0aea864a99
3 changed files with 18 additions and 3 deletions

View file

@ -39,6 +39,8 @@
**/PythonInterpreterPandasSqlTest.java,
**/PythonInterpreterMatplotlibTest.java
</python.test.exclude>
<pypi.repo.url>https://pypi.python.org/packages</pypi.repo.url>
<python.py4j.repo.folder>/64/5c/01e13b68e8caafece40d549f232c9b5677ad1016071a48d04cc3895acaa3</python.py4j.repo.folder>
</properties>
<dependencies>
@ -107,7 +109,7 @@
<phase>package</phase>
<goals><goal>download-single</goal></goals>
<configuration>
<url>https://pypi.python.org/packages/64/5c/01e13b68e8caafece40d549f232c9b5677ad1016071a48d04cc3895acaa3</url>
<url>${pypi.repo.url}${python.py4j.repo.folder}</url>
<fromFile>py4j-${python.py4j.version}.zip</fromFile>
<toFile>${project.build.directory}/../../interpreter/python/py4j-${python.py4j.version}.zip</toFile>
</configuration>

View file

@ -60,7 +60,7 @@
http://d3kbcqa49mib13.cloudfront.net/${spark.archive}.tgz
</spark.src.download.url>
<spark.bin.download.url>
http://d3kbcqa49mib13.cloudfront.net/spark-${spark.version}-bin-without-hadoop.tgz
http://d3kbcqa49mib13.cloudfront.net/${spark.archive}-bin-without-hadoop.tgz
</spark.bin.download.url>
<spark.py4j.version>0.8.2.1</spark.py4j.version>

View file

@ -42,6 +42,12 @@
<web.e2e.enabled>false</web.e2e.enabled>
<zeppelin.daemon.package.base>../bin</zeppelin.daemon.package.base>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--plugin versions-->
<plugin.frontend.downloadRoot>https://nodejs.org/dist/</plugin.frontend.downloadRoot>
<plugin.frontend.nodeDownloadRoot>https://nodejs.org/dist/</plugin.frontend.nodeDownloadRoot>
<plugin.frontend.npmDownloadRoot>http://registry.npmjs.org/npm/-/</plugin.frontend.npmDownloadRoot>
<plugin.frontend.yarnDownloadRoot>https://github.com/yarnpkg/yarn/releases/download/</plugin.frontend.yarnDownloadRoot>
</properties>
<build>
@ -58,7 +64,14 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${plugin.frontned.version}</version>
<version>${plugin.frontend.version}</version>
<configuration>
<downloadRoot>${plugin.frontend.downloadRoot}</downloadRoot>
<nodeDownloadRoot>${plugin.frontend.nodeDownloadRoot}</nodeDownloadRoot>
<npmDownloadRoot>${plugin.frontend.npmDownloadRoot}</npmDownloadRoot>
<yarnDownloadRoot>${plugin.frontend.yarnDownloadRoot}</yarnDownloadRoot>
</configuration>
<executions>
<execution>