将 jar 包发布到Maven中央仓库
摘要:这里列出一些发布过程中的注意点: 0. 项目的 pom 需要根据Sonatype OSSRH的要求进行整改 以下信息都必须配置: Supply Javadoc and Sources Sign Files with GPG/PGP Sufficient Metadata Correct Coordi
阅读全文
posted @
2020-04-10 11:30
快鸟
阅读(590)
推荐(0) 编辑
Maven使用
摘要:maven 传递依赖机制 http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html 当遇到多个版本作为依赖关系时,maven 将选择哪个版本作为真正的依赖呢? Maven选择了“最近的定
阅读全文
posted @
2020-03-23 10:28
快鸟
阅读(255)
推荐(0) 编辑
maven-archetype-plugin 的正确打开方式
摘要:1. 准备好一个编辑好的模板工程 2. 在 pom.xml 中添加 maven-archetype-plugin 插件 3. 执行: mvn archetype:create-from-project,生成对应的 archetype 工程(IDEA 可以直接在 Maven Projects 面板上点
阅读全文
posted @
2019-12-18 14:52
快鸟
阅读(6301)
推荐(0) 编辑
maven
摘要:maven命令分为 build phase(build lifecycle phase) 和 plugin goal 两种。 例如命令:mvn clean dependency:copy-dependencies package,clean 和 package 是 build phase,而 dep
阅读全文
posted @
2017-09-05 11:09
快鸟
阅读(525)
推荐(0) 编辑
IntelliJ IDEA使用记录
摘要:ctrl + shift + i :弹出窗口查看类的定义 ctrl + shift + a :输入 action 执行。(例如:输入 pull 进行拉代码) ctrl + shift + alt + n :按关键字搜索 Shift+F7,智能步入(调试)Alt+F10,定位到断点 bookmark:
阅读全文
posted @
2016-04-21 20:59
快鸟
阅读(920)
推荐(0) 编辑