[
https://issues.apache.org/jira/browse/FLINK-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651761#comment-14651761
]
ASF GitHub Bot commented on FLINK-2456:
---------------------------------------
Github user HuangWHWHW commented on the pull request:
https://github.com/apache/flink/pull/969#issuecomment-127203020
The most important In the HBase pom.xml I add is the repository ID:
"<repositories>"
"<repository>"
"<id>hadoop-2-repo2</id>"
"<url>https://repo.maven.apache.org/maven2</url>"
"<releases>"
"<enabled>true</enabled>"
"</releases>"
"<snapshots>"
"<enabled>false</enabled>"
"</snapshots>"
"</repository>"
"</repositories>"
By using this id, you can get the hadoop-2 from any way(for example using
mirror with this ID).
The default repository is the url(https://repo.maven.apache.org/maven2)
above.
And the default means you need not do anything with maven configuration
just print "mvn package".
As I see, every flink dependency is using this url.
Did I misunderstand? Is the hadoop-2 default repository path is another?
> 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)