Maven
1、下载Maven
2、配置环境
3、阿里云镜像
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*,!jeecg,!jeecg-snapshots</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
4、本地仓库及配置
5、IDEA中使用Maven
6、Tomcat在IDEA中配置
得到的结论是Tomcat10是无法在IDEA中配置的,报错为 Application server libraries not found
解决方法:下载Tomcat9版本,再更改环境变量为 Tomcat9 地址,解决
HelloMaven
Mean仓库
配置
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>