Usage scenarios:
The jar packages used in the MAVEN project are not available for download in the central repository, but are also used in the project.
Workaround:
1. Upload the jar package to your private one, and then download the jar after connecting to the address in the project.
2. Manually install this jar package to the local warehouse
Of course this article is an introduction to Method 2: How to manually install the jar into the local repository, if you want to understand Method 1, you can look at my other blog: http://simplelife.blog.51cto.com/9954761/1726177
1, will get the jar package in the specified directory, I put it directly on the desktop, if placed in another directory, it is necessary to enter into the jar storage directory, and then open a command line window in the current directory, execute the command:
MVN install:install-file-dgroupid=com.simple.jzsms-dartifactid=jzsms201503-dversion=1.0.0-dpackaging=jar-dfile= Jzsms201503.jar
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/84/79/wKiom1eRs8rzheO6AAF_FYmU1hQ071.png "title=" 22222. PNG "alt=" Wkiom1ers8rzheo6aaf_fymu1hq071.png "/>
Maven3 manually installing the local jar to the warehouse