maven打包jar与pom文件到本地仓库例子
2017-02-06 11:29
615 查看
mvn install:install-file -Dfile=[your file] -DgroupId=[xxxx] -DartifactId=[xxxx] -Dversion=[xxxx] -Dpackaging=[pom|jar|other]
打包jar
mvn install:install-file -Dfile=C:\Users\Administrator\Desktop\netty-3.5.12.Final.jar -DgroupId=org.maven2.io.netty.netty -DartifactId=netty -Dversion=3.5.12.Final -Dpackaging=jar
打包pom
mvn install:install-file -Dfile=C:\Users\Administrator\Desktop\smartlog-2.0.2-SNAPSHOT.pom -DgroupId=com.ultrapower.zq -DartifactId=smartlog -Dversion=2.0.2-SNAPSHOT -Dpackaging=pom
相关文章推荐
- # 读 Android 开发艺术探索 &5
- spring 体系结构简单介绍
- 12-另一种helper的使用方法
- java.lang.RuntimeException: java.io.IOException: invalid constant type: 15
- Asp.net MVC利用knockoutjs实现登陆并记录用户的内外网IP及所在城市(推荐)
- ios UITableview 刷新某一个cell 或 section
- 【struts1】——基本实现原理
- redis使用总结
- MySQL查询
- # 读 Android 开发艺术探索 &4
- Python文本处理之按行处理大文件
- C++ 头文件系列(iterator)
- C# 字符串操作——性能优化细节
- 系统兼容指标及重要性
- 解决RCP中CNF(navigator)配置后delete\copy\past快捷键失效
- QT中窗体的停靠
- # 读 Android 开发艺术探索 &3
- 微信公众号开发---微信企业付款给个人
- 简明UML--类图
- Android系统启动概要