[ 
https://issues.apache.org/jira/browse/FLINK-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056027#comment-14056027
 ] 

Robert Metzger commented on FLINK-1004:
---------------------------------------

[~warneke]: you understood the patch correctly. It activates all vendor 
repositories at once.
I hope there are no version clashes as the vendors all add suffixes to their 
vendor specific releases.

bq. Then I don’t see any reasons why we cannot activate the repositories 
globally and have confusing configuration switch less?
There is a reason: It seems that maven is querying all repositories when 
downloading artifacts. I tried adding the repositories to the pom file and it 
resulted in the following behavior: 
https://s3.amazonaws.com/archive.travis-ci.org/jobs/29312525/log.txt
So for example:
{code}
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/releases/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
[INFO] Downloading: 
https://repository.apache.org/releases/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
[INFO] Downloading: 
https://repository.cloudera.com/artifactory/cloudera-repos/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
[INFO] Downloading: 
http://repo.hortonworks.com/content/repositories/releases/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
[INFO] Downloading: 
http://repository.mapr.com/maven/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
{code}

I'm against adding the repositories by default because we already have troubles 
with the build times at travis.

> Add MapR and Hortonworks repositories to main pom file.
> -------------------------------------------------------
>
>                 Key: FLINK-1004
>                 URL: https://issues.apache.org/jira/browse/FLINK-1004
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>            Priority: Minor
>
> As discussed here: 
> http://apache-flink-incubator-mailing-list-archive.1008284.n3.nabble.com/How-to-compile-Flink-against-vendor-specific-Hadoop-libs-td977.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to