Maven installs local jar to repository

For example, download the latest oracle driver package:

First download the http://download.csdn.net/download/eideeide/442072   jar package here,

 

Execute the following command to install to the local repository

mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.4 -Dpackaging=jar -Dfile=C:\Users\test\Desktop\ojdbc14.jar

 

 

It can also be installed on a private server:

Reference: http://blog.163.com/sir_876/blog/static/117052232012524111138949/

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326916052&siteId=291194637