![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
I_FanQuFuShi
这个作者很懒,什么都没留下…
展开
-
把classes文件打成jar包
方法一 maven输出方法二 使用命令行工具:tar cvf [jarName].jar [package]原创 2018-07-04 09:44:02 · 871 阅读 · 0 评论 -
使用mvn工具把jar包放到本地maven仓库中
step1 下载apache-maven工具step2 把jar把拷贝到bin目录下step3 输入命令行:./mvn install:install-file -Dfile=[jarname].jar -DgroupId=[group] -DartifactId=[artifact] -Dversion=[version] -Dpackaging=jarstep4 maven pom.xml引用...原创 2018-07-04 10:11:29 · 233 阅读 · 0 评论