
2
编
辑
maven/conf
中
的
settings.xml
添
加
远
程
仓
库
任
意
的
maven
版
本
添
加
环
境
变
量
# MAVEN_HOME
MAVEN_HOME=/usr/local/maven-3.6.3
PATH=$PATH:$MAVEN_HOME/bin
1
2
3
4
5
6
XML

3
https://archive.apache.org/dist/flink/
在
官
⽹
下
载
⾃
⼰
需
要
的
版
本
,
这
⾥
以
flink-1.13.6-bin-
scala_2.11.tgz
为例
1.2
下
载
flink
安
装
包
<!--
阿
⾥
云仓
库
-->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</ur
l>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>nexus-aliyun</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<!-- Maven
中
央
仓
库
中
国
镜
像
-->
<mirror>
<id>maven cn repo</id>
<name>oneof the central mirrors in china</name>
<url>http://maven.net.cn/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>maven repo</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>maven repo2</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://repo2.maven.org/maven2/</url>
</mirror>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
XML

4
1.3
相
关
软
件
#
在
/var/www/html
⽬
录
下
创
建
flink1.13.6
⽬
录
,
将
下
载
的
安
装
包
上
传
到
flink1.13.6
⽬
录
下
可
以
在
http://node1/flink1.13.6
中
查
看
1
2
XML