Maven’s elegant method of adding third-party jar packages

When using Maven to build a project, some jar packages cannot be downloaded to the local repository. In view of this situation, the following solutions are summarized: take ojdbc14-10.2 0.4. 0.jar as an example [the same is true for local installation of other jar packages]

1: Download ojdbc14-10.2 0.4. 0.jar

2: Open the CMD command window in the jar package directory and execute: MVN install: install file - dgroupid = com oracle -DartifactId=ojdbc14 -Dversion=10.2. 0.4. 0 -Dpackaging=jar-Dfile=ojdbc14-10.2. 0.4. 0.jar

The above Maven elegant way to add a third-party jar package is all the content shared by Xiaobian. I hope it can give you a reference and support more programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>