将jar文件生成maven相关文件

1.打开cmd命令框

  

输入:mvn install:install-file -Dfile=D:\tmp\Spire.Doc.jar -DgroupId=e-iceblue -DartifactId=spire.doc -Dversion=2.7.3 -Dpackaging=jar 

 表示成功

最后加到pox.xml

人生的成功不在于拿到一副好牌,而是怎样将坏牌打好。
原文地址:https://www.cnblogs.com/bin521/p/15538738.html