maven:http://maven.apache.org/
Download complete unzip to D disk directory D:\apache-maven-3.5.0\bin
To configure the MAVEN environment variable:
M2_home D:\apache-maven-3.5.0\
Maven_home D:\apache-maven-3.5.0
Path;D: \java\apache-maven-3.5.0\bin
Configuration cmd Administrator rights input MVN--version display
D:----->cd D:\apache-maven-3.5.0\bin------>MVN--version
Take the open source Xxl-job framework as an example Https://github.com/xuxueli/xxl-job
Create a new Maven folder and unzip the downloaded file D:\maven\xxl-job-master\xxl-job-admin\src\main\resources configuration related database account password database name
# # # Xxl-job db (use & Replace & in XML)
Xxl.job.db.driverclass=com.mysql.jdbc.driver
Xxl.job.db.url=jdbc:mysql://localhost:3306/jobcenter?useunicode=true&characterencoding=utf-8
Xxl.job.db.user=root
Xxl.job.db.password=root
# # Xxl-job Email
Xxl.job.mail.host=smtp.163.com
Xxl.job.mail.port=25
[Email protected]
Xxl.job.mail.password=asdfzxcv
[Email protected]
xxl.job.mail.sendnick= "Task scheduling platform Xxl-job"
# # Xxl-job Login
Xxl.job.login.username=admin
xxl.job.login.password=123456
# # Xxl-job, access token
xxl.job.accesstoken=
-----------------------------------------------------------------------------
M2_home D:\apache-maven-3.5.0\
Maven_home D:\apache-maven-3.5.0
Path%maven_home%\bin
Maven installs the configuration and package war under the WINDOWS10 system