[
https://issues.apache.org/jira/browse/FLINK-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651348#comment-14651348
]
ASF GitHub Bot commented on FLINK-2456:
---------------------------------------
Github user HuangWHWHW commented on the pull request:
https://github.com/apache/flink/pull/969#issuecomment-127105581
This is just a method to solve the problem that some modules' dependencies
cannot be downloaded from central maven repository.
You can specify every module dependency ID so that we can downloading
dependencies from either central maven repository by default or other channel
by setting maven mirrors when mvn package.
As for HBase, it`s just that I get some trouble in downloading this module
dependency.
And sorry for the url.
I just want to push a example about maven mirror on the comment but it was
blocked because of the XML format.
This complete code should be like this:
"<mirror>"
"<id>repo2</id>"
"<name>Human Readable Name for this Mirror.</name>"
"<url>http://repo2.maven.org/maven2/</url>"
"<mirrorOf>hadoop-2-repo2</mirrorOf>"
"</mirror>"
> The flink-hbase module dependencies hadoop-2 specifies a repository ID
> ----------------------------------------------------------------------
>
> Key: FLINK-2456
> URL: https://issues.apache.org/jira/browse/FLINK-2456
> Project: Flink
> Issue Type: Wish
> Components: Build System
> Affects Versions: 0.10
> Environment: win7 32bit;linux
> Reporter: Huang Wei
> Labels: maven
> Fix For: 0.10
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> In some special network environment, we can only use maven mirrors to
> download dependencies for mvn package.
> It cannot complete construction using one mirror.
> Error like:
> [ERROR] Failed to execute goal on project flink-hbase: Could not resolve
> dependencies for project org.apache.flink:flink-hbase:jar:0.10-SNAPSHOT:
> Failure to find org.apache.hbase:hbase-server:jar:0.98.11-hadoop2 in
> http://mirrors.ibiblio.org/pub/mirrors/maven2 was cached in the local
> repository, resolution will not be reattempted until the update interval of
> ibiblio.org has elapsed or updates are forced -> [Help 1]
> We need to specify a repository ID to hadoop-2 plugin so that it can be
> downloaded over another mirror.
> This will not affect the normal network environment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)