装载地址:https://blog.csdn.net/qq_35260875/article/details/108765529
<systemPath>${project.basedir}/lib/rest-1.1.2.jar</systemPath>
<dependency> <groupId>com.vertica</groupId> <artifactId>vertica-jdbc</artifactId> <version>8.1.1-0</version> <scope>system</scope> <systemPath>${basedir}/lib/vertica-jdbc-8.1.1-0.jar</systemPath> </dependency>
缺点:
当程序运行在其他环境时会报错
mvn install:install-file -DgroupId=com.vertica
-DartifactId=vertica-jdbc
-Dversion=8.1.1-0
-Dpackaging=jar
-Dfile=C:\xl\test\vertica-jdbc-8.1.1-0.jar
<dependency> <groupId>com.vertica</groupId> <artifactId>vertica-jdbc</artifactId> <version>8.1.1-0</version> </dependency>
mvn clean install
IDEA maven mvn install无法引用手动导入的jar包的解决方式 图文详细
原文:https://www.cnblogs.com/lidar/p/14153474.html