¶Preface
Funeral Blues
He was my North, my South, my East and West.
My working week and my Sunday rest, My noon, my midnight, my talk, my song;
I thought that love would last forever;
I was wrong.
忧郁的赞礼
他曾是我的四面八方
我的工作日,我的礼拜天
我的正午,我的半夜,我的呢喃,我的歌唱
我以为爱都能恒久流长
现在看来多么荒唐
Recently, I got a new PROBOOK, and the development environment had to be reconfigured. To facilitate querying, the Maven configuration under Windows 10 is recorded here.
In the flowing you can know:
- how to config maven in a local machine.
- how to fast maven download.
¶Install
You can download it from the following URL Maven and unzip it to your local directory.
¶System Path
Then, we should config system path with MAVEN_HOME and system path, just looks like this:
- MAVEN_HOME
- System Path
¶Test
key in mvn -version of CMD shell, and see the result.
¶Accelerate
We can modify the configuration of maven, specify the jar download location, configure the local warehouse, and use Alibaba cloud image to accelerate the download speed.
¶Specify download location
Write this code into maven configuration settings to specify the jar download location.
1 | <localRepository>D:\DevEnvs\repository</localRepository>` |
¶Alibaba cloud image
Write this code into maven configuration settings mirrors tag to accelerate the download speed with Alibaba cloud image.
1 | <mirror> |
¶Others
If the settings.xml is not existed, please create o new one.
The content example just as follows:
1 | <?xml version="1.0" encoding="UTF-8"?> |