文章目录
Maven PROJECT
- Maven install and configuration
- Download
- Install
解压到指定目录
配置M2_HOME,PATH环境变量
M2_HOME=E:\apache-maven-3.6.0
PATH=$PATH;%M2_HOME%\bin - Configuration(在tomcat安装之后配置)
- Download
配置本地库:<localRepository>E:/mvn</localRepository>
添加server:<server> <id>tomcat9</id> <username>Matthew</username> <password>zhangyi</password> </server>
配置私有库地址:
<profile>
<id>dev</id>
<repositories>
<repository>
<id>local-nexus</id>
<url>http://222.26.224.232:8088/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
复制配置文件到本地库目录下
-
Tomcat install and configuration
- Configuration(在tomcat安装之后配置)
在E:\apache-tomcat-9.0.11\conf下的tomcat-users.xml加上
- Configuration(在tomcat安装之后配置)