一、首先下载dubbo-admin包
1、网址https://github.com/apache/incubator-dubbo-ops
2、根据以上网址操作,按以下步骤:
- Step 1:下载
git clone https://github.com/apache/incubator-dubbo-ops
- Step 2:打包
cd incubator-dubbo-ops && mvn package
3、因为现在dubbo最新的是结合springboot编码的,所以打成的包是jar包。
也可以执行以下spingboot打包命令:
mvn package spring-boot:repackage
在执行上述命令的过程中,Maven首先在package阶段打包生成*.jar文件;然后执行spring-boot:repackage重新打包,查找Manifest文件中配置的Main-Class属性,如下所示:
Manifest-Version: 1.0
Implementation-Title: dubbo-admin
Implementation-Version: 0.0.1-SNAPSHOT
Built-By: Zengxb
Implementation-Vendor-Id: com.alibaba
Spring-Boot-Version: 2.0.2.RELEASE