introducing the outside jar package maven
As we all know maven can not download it from the Internet when downloading the specified version jar package, but encountered fee jar package (such as Oracle, etc.) download, download only to find the way through the jar package from * degrees, after the local jar package , you need to import the local maven repository:
A coordinate jar package
Second, at the command prompt introduced
- You must use administrator privileges, otherwise fail
mvn install:install-file -Dfile=本地jar包存放目录 -DgroupId=jar包添加依赖的groupId名称 -DartifactId=jar包添加依赖的artifactId名称 -Dversion=jar包添加依赖的version -Dpackaging=jar
-
The results are shown:
-
Oracle driver jar package I have uploaded large GitHub, there is a need please download: Oracle: ojdbc6-11.2.0.1.0