将jar包安装到本地repository中


mvn install:install-file -Dfile=G:/lcn_springboot2.0/tx-plugins-db-4.1.2.jar -DgroupId=com.codingapi -DartifactId=transaction-springcloud -Dversion=4.1.2 -Dpackaging=jar

mvn install:install-file -Dfile=G:/lcn_springboot2.0/tx-plugins-db-4.1.2.jar -DgroupId=com.codingapi -DartifactId=tx-plugins-db -Dversion=4.1.2 -Dpackaging=jar

mvn install:install-file -Dfile=G:/lcn_springboot2.0/tx-client-4.1.2.jar -DgroupId=com.codingapi -DartifactId=tx-client -Dversion=4.1.2 -Dpackaging=jar
G:/lcn_springboot2.0/tx-plugins-db-4.1.2.jar jar包的本地目录
在cmd中执行上面的命令



将本地jar打到gradle本地仓库
在src同一层级创建lib文件夹





免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM