maven的设置
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">
<localRepository>D:\cangku</localRepository> 改成自己的
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
</servers>
<mirror>
<id>mirrorId</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
</mirrors>
<profiles>
</settings>
maven setting.xml设置一下的国内源仓库地址,和本地仓库地址<local 那个地方。
记得把这个添加到环境变量。
idea的设置
主要就设置一下这个设置
新建项目的过程截图不方便展示,自己看一边课,多来几遍就行了
模块的引入
里面模块的设置,是新知识
模块添加和删除
模块里面java 的设置