This is an automated email from the ASF dual-hosted git repository. chesnay pushed a commit to branch release-1.7 in repository https://gitbox.apache.org/repos/asf/flink.git
commit f092d755b9a3046c14abf80aa1bb3f1347485d3c Author: Chesnay Schepler <ches...@apache.org> AuthorDate: Thu Jul 18 13:01:11 2019 +0200 [FLINK-12578][build] Add fallback unsafe MapR repository --- flink-filesystems/flink-mapr-fs/pom.xml | 20 ++++++++++++++++++++ tools/travis_mvn_watchdog.sh | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/flink-filesystems/flink-mapr-fs/pom.xml b/flink-filesystems/flink-mapr-fs/pom.xml index 036bad0..1c2117c 100644 --- a/flink-filesystems/flink-mapr-fs/pom.xml +++ b/flink-filesystems/flink-mapr-fs/pom.xml @@ -41,6 +41,26 @@ under the License. </repository> </repositories> + <profiles> + <profile> + <id>unsafe-mapr-repo</id> + <activation> + <property> + <name>unsafe-mapr-repo</name> + </property> + </activation> + <repositories> + <!-- MapR --> + <repository> + <id>mapr-releases</id> + <url>http://repository.mapr.com/maven/</url> + <snapshots><enabled>false</enabled></snapshots> + <releases><enabled>true</enabled></releases> + </repository> + </repositories> + </profile> + </profiles> + <dependencies> <dependency> diff --git a/tools/travis_mvn_watchdog.sh b/tools/travis_mvn_watchdog.sh index 63c1772..b2c4369 100755 --- a/tools/travis_mvn_watchdog.sh +++ b/tools/travis_mvn_watchdog.sh @@ -54,8 +54,10 @@ MVN_TEST_MODULES=$(get_test_modules_for_stage ${TEST}) # # -nsu option forbids downloading snapshot artifacts. The only snapshot artifacts we depend are from # Flink, which however should all be built locally. see FLINK-7230 +# +# We use -Punsafe-mapr-repo since the https version fails on Travis for some reason. MVN_LOGGING_OPTIONS="-Dlog.dir=${ARTIFACTS_DIR} -Dlog4j.configuration=file://$LOG4J_PROPERTIES -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" -MVN_COMMON_OPTIONS="-nsu -Dflink.forkCount=2 -Dflink.forkCountTestPackage=2 -Dfast -B $MVN_LOGGING_OPTIONS" +MVN_COMMON_OPTIONS="-nsu -Dflink.forkCount=2 -Dflink.forkCountTestPackage=2 -Dfast -B -Punsafe-mapr-repo $MVN_LOGGING_OPTIONS" MVN_COMPILE_OPTIONS="-DskipTests" MVN_TEST_OPTIONS="$MVN_LOGGING_OPTIONS"