We sometimes do this when we are developing Java projects in an isolated environment, not on the Internet, and we can't download the third-party libraries that our projects depend on. You need to build your own MAVEN warehouse manager.
The author takes the Nexus Repository Manager 3 As an example, its features are very strong, not only support MAVEN, support Git,docker, etc.
Let's talk about how to install Windows.
@ First download the installation package to the following website
Https://www.sonatype.com/download-oss-sonatype
@ Install versions above JDK1.8
@ Unzip downloaded files
For example, the author of the decompression in: C:\software\nexus-3.5.1-02-win64\nexus-3.5.1-02\bin
@ Open the Windows Command window, switch to the directory above to run the following command, register the service
C:\software\nexus-3.5.1-02-win64\nexus-3.5.1-02\bin>nexus.exe/install Nexus
Installed service ' Nexus '.
@ Start Nexus Service
C:\software\nexus-3.5.1-02-win64\nexus-3.5.1-02\bin>nexus.exe/start Nexus
Starting service ' Nexus '.
@ Open Web site
http://localhost:8081/
@ Login with default user name and password (admin/admin123)
Congratulations on your installation success. Subsequent articles will continue to share how to configure the Nexus to support the local MAVEN repository.