dubbo2.7admin
下载地址: https://github.com/apache/dubbo-admin
端口冲突的话直接修改server中的配置文件即可
下载后,进入根目录下执行命令,不需要进入到子文件(server)中执行。
ui的pom.xml的build中添加
<downloadRoot>http://npm.taobao.org/mirrors/node/</downloadRoot>
<build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <version>${frontend-maven-plugin.version}</version> <executions> <execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> </goals> <configuration> <nodeVersion>v9.11.1</nodeVersion> <downloadRoot>http://npm.taobao.org/mirrors/node/</downloadRoot> </configuration> </execution> <!-- Install all project dependencies --> <execution> <id>npm install</id> <goals> <goal>npm</goal> </goals> <!-- optional: default phase is "generate-resources" --> <phase>generate-resources</phase> <!-- Optional configuration which provides for running any npm command --> <configuration> <arguments>install</arguments> </configuration> </execution> <!-- Build and minify static files --> <execution> <id>npm run build</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>run build</arguments> </configuration> </execution> </executions> </plugin> </plugins> </build>
参考:https://blog.csdn.net/qq_36245532/article/details/95003092