2019年12月9日
摘要: 一个需要创建模版的项目 1、创建archetype cd 到项目根目录下执行(pom.xml同级目录)。 mvn archetype:create-from-project 2、生成archetype模板 先 cd target/generated-sources/archetype/ 然后执行 m 阅读全文
posted @ 2019-12-09 18:52 LittleSpring 阅读(1025) 评论(0) 推荐(0) 编辑
摘要: ref https://www.jianshu.com/p/fd43b3d0fdb0 阅读全文
posted @ 2019-12-09 17:53 LittleSpring 阅读(366) 评论(0) 推荐(0) 编辑
摘要: ref:https://blog.csdn.net/qq_27529917/article/details/79741607 http://www.yangbing.club/2017/07/15/solution-for-jar-conflicts/ 先来看下Maven的仲裁机制: 优先按照依赖管 阅读全文
posted @ 2019-12-09 17:18 LittleSpring 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: 在maven中,scope包含如下的取值: compile(编译范围) compile是默认的范围;如果没有提供一个范围,那该依赖的范围就是编译范围。编译范围依赖在所有的classpath中可用,同时它们也会被打包。 provided(已提供范围) provided依赖只有在当JDK或者一个容器已提 阅读全文
posted @ 2019-12-09 12:20 LittleSpring 阅读(218) 评论(0) 推荐(0) 编辑
摘要: ref:https://www.zybuluo.com/Roy270490837/note/835720 阅读全文
posted @ 2019-12-09 12:19 LittleSpring 阅读(85) 评论(0) 推荐(0) 编辑