打开cmd,进入jar包所在路径,运行如下命令(=后面替换为实际参数):
mvn install:install-file -Dfile=wx-tools-2.1.6-RELEASE.jar -DgroupId=com.person.wx-tools -DartifactId=wx-tools -Dversion=2.1.6-RELEASE -Dpackaging=jar
Maven引入本地Jar包
最新推荐文章于 2024-06-29 18:45:00 发布
打开cmd,进入jar包所在路径,运行如下命令(=后面替换为实际参数):
mvn install:install-file -Dfile=wx-tools-2.1.6-RELEASE.jar -DgroupId=com.person.wx-tools -DartifactId=wx-tools -Dversion=2.1.6-RELEASE -Dpackaging=jar