Skip to content

Commit 07ce142

Browse files
committed
[FLINK-12578][build] Add fallback unsafe MapR repository
1 parent 5c36c65 commit 07ce142

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

flink-filesystems/flink-mapr-fs/pom.xml

+20
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,26 @@ under the License.
4141
</repository>
4242
</repositories>
4343

44+
<profiles>
45+
<profile>
46+
<id>unsafe-mapr-repo</id>
47+
<activation>
48+
<property>
49+
<name>unsafe-mapr-repo</name>
50+
</property>
51+
</activation>
52+
<repositories>
53+
<!-- MapR -->
54+
<repository>
55+
<id>mapr-releases</id>
56+
<url>http://repository.mapr.com/maven/</url>
57+
<snapshots><enabled>false</enabled></snapshots>
58+
<releases><enabled>true</enabled></releases>
59+
</repository>
60+
</repositories>
61+
</profile>
62+
</profiles>
63+
4464
<dependencies>
4565

4666
<dependency>

tools/travis_watchdog.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ MVN_TEST_MODULES=$(get_test_modules_for_stage ${TEST})
5959
#
6060
# -nsu option forbids downloading snapshot artifacts. The only snapshot artifacts we depend are from
6161
# Flink, which however should all be built locally. see FLINK-7230
62+
#
63+
# We use -Punsafe-mapr-repo since the https version fails on Travis for some reason.
6264
MVN_LOGGING_OPTIONS="-Dlog.dir=${ARTIFACTS_DIR} -Dlog4j.configuration=file://$LOG4J_PROPERTIES -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
63-
MVN_COMMON_OPTIONS="-nsu -Dflink.forkCount=2 -Dflink.forkCountTestPackage=2 -Dfast -B -Pskip-webui-build $MVN_LOGGING_OPTIONS"
65+
MVN_COMMON_OPTIONS="-nsu -Dflink.forkCount=2 -Dflink.forkCountTestPackage=2 -Dfast -B -Pskip-webui-build -Punsafe-mapr-repo $MVN_LOGGING_OPTIONS"
6466
MVN_COMPILE_OPTIONS="-DskipTests"
6567
MVN_TEST_OPTIONS="$MVN_LOGGING_OPTIONS -Dflink.tests.with-openssl"
6668

0 commit comments

Comments
 (0)