首先找到你的本地jar包,如 C:\Users\dell\Desktop\cps\PISClient\lib\jacob.jar
然后输入各个值。
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>6.0.4</version>
</dependency>
mvn install:install-file
-Dfile=C:\Users\dell\Desktop\cps\PISClient\lib\jacob.jar
-DgroupId=mysql
-DartifactId=mysql-connector-java
-Dversion=6.0.4
-Dpackaging=jar