docker技术快速实现前后端项目的集群化①java项目在windows下maven环境的搭建

docker技术快速实现前后端项目的集群化①java项目在windows下maven环境的搭建

Windows中部署maven

下载地址:https://mirror.bit.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip

设置环境变量

E:\software\java\apache-maven-3.6.3-bin\bin

 

修改默认的仓库conf/settings.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
          <mirror>
                <id>alimaven</id>
                <mirrorOf>central</mirrorOf>
                <name>aliyun maven</name>
                <url>http://maven.aliyun.com/nexus/content/groups/public</url>
           </mirror>
           <localRepository>E:/software/java/apache-maven-3.6.3-bin/repository</localRepository>
</settings>

Eclipse中设置maven环境

使用renren-fast作为演示,下载源码,并且eclipse导入

https://www.renren.io/community/project

下载2.0版本

https://gitee.com/renrenio/renren-fast/tree/v2.0.0/

项目参考文档

https://www.renren.io/guide/#end

 

posted @ 2020-07-31 14:09  reblue520  阅读(161)  评论(0编辑  收藏  举报