随笔分类 -  Maven

1 2 下一页

Maven - 常用命令
摘要:View dependency tree Write log to txt 1-Print dependency tree to log file:mvn dependency:tree > c:/temp/tree.txt 常用maven命令总结 常用maven命令总结: -D 指定参数,如 -D 阅读全文

posted @ 2021-12-02 17:17 frank_cui 阅读(96) 评论(0) 推荐(0) 编辑

Maven - maven-release-plugin issue when Maven is 3.2.3 – 3.2.9
摘要: 阅读全文

posted @ 2021-12-02 15:32 frank_cui 阅读(22) 评论(0) 推荐(0) 编辑

Maven - When use mvn command, throw JAVA_HOME should point to a JDK not a JRE
摘要: 阅读全文

posted @ 2021-12-02 15:32 frank_cui 阅读(14) 评论(0) 推荐(0) 编辑

Maven - The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
摘要: 阅读全文

posted @ 2021-12-02 15:31 frank_cui 阅读(414) 评论(0) 推荐(0) 编辑

Maven - The goal you specified requires a project to execute but there is no POM in this directory
摘要: 阅读全文

posted @ 2021-12-02 15:30 frank_cui 阅读(77) 评论(0) 推荐(0) 编辑

Maven - Return code is: 401, ReasonPhrase: Unauthorized
摘要: 阅读全文

posted @ 2021-12-02 15:29 frank_cui 阅读(21) 评论(0) 推荐(0) 编辑

Maven - Unsupported major.minor version 51.0
摘要: 阅读全文

posted @ 2021-12-02 15:26 frank_cui 阅读(40) 评论(0) 推荐(0) 编辑

Maven - MavenReportException: Error while creating archive
摘要: 阅读全文

posted @ 2021-12-02 15:23 frank_cui 阅读(258) 评论(0) 推荐(0) 编辑

Maven - Some problems were encountered while processing the POMs
摘要: 阅读全文

posted @ 2021-12-02 15:22 frank_cui 阅读(330) 评论(0) 推荐(0) 编辑

Maven - <repositories>配置中央仓库
摘要:repositories节点是配置maven下载jar的中央仓库,默认的是国外的, <repositories> <repository> <id>springsource-milestones</id> <name>SpringSource Milestones Proxy</name> <url 阅读全文

posted @ 2021-08-21 00:39 frank_cui 阅读(1458) 评论(0) 推荐(0) 编辑

Maven - <distributionManagement>配置分发"远程"Maven仓库
摘要:mvn install 会将项目生成的构件安装到本地Maven仓库,mvn deploy 用来将项目生成的构件分发到远程Maven仓库。本地Maven仓库的构件只能供当前用户使用,在分发到远程Maven仓库之后,所有能访问该仓库的用户都能使用你的构件。 我们需要配置POM的distributionM 阅读全文

posted @ 2021-08-21 00:36 frank_cui 阅读(470) 评论(0) 推荐(0) 编辑

Maven - <packaging>
摘要:<packaging>常见的取值: jar: 默认是jar类型。如果只是内部调用或者是作服务使用,则推荐打包成jar类型 war: 如果是需要部署的项目,则需要打包成war类型。 pom: 项目里没有java代码,也不执行任何代码,只是为了聚合工程或传递依赖用的.一般用于父级项目。 阅读全文

posted @ 2020-12-09 22:18 frank_cui 阅读(118) 评论(0) 推荐(0) 编辑

Maven - 父模块 vs 子模块 与 <dependencyManagement> vs <dependencies>
摘要:父模块 vs 子模块 多模块开发中,使用父模块对子模块的管理非常方便。 父模块pom中的<properties>属性会被子模块继承 父模块pom中,在<dependencyManagement>中可以进行子模块依赖的版本管理,子模块继承父模块之后,提供作用:锁定版本 + 子模块不用再写 versio 阅读全文

posted @ 2020-12-09 22:07 frank_cui 阅读(446) 评论(0) 推荐(0) 编辑

Maven - [重要] Maven项目标准目录结构 + 资源文件导出
摘要:Maven项目的标准目录结构 src main java 源文件 resources 资源文件 filters 资源过滤文件 config 配置文件 scripts 脚本文件 webapp web应用文件 test java 测试源文件 resources 测试资源文件 filters 测试资源过滤 阅读全文

posted @ 2020-11-21 21:05 frank_cui 阅读(544) 评论(1) 推荐(0) 编辑

Maven - pom.xml结构
摘要: 阅读全文

posted @ 2020-11-21 16:01 frank_cui 阅读(82) 评论(0) 推荐(0) 编辑

Maven - 主配置文件conf/settings.xml
摘要:“mirrors” 国内访问外网速度很慢,可以增加<mirrors>,加速依赖的下载。国内推荐使用阿里云镜像。 详细:Maven - 镜像<mirror> “localRepository” 运行Maven的时候,Maven所需要的任何构件都是直接从本地仓库获取的(缺省的本地仓库地址为${user. 阅读全文

posted @ 2020-11-21 01:09 frank_cui 阅读(266) 评论(0) 推荐(0) 编辑

Maven - [Debug] Integration failed but bamboo not failed
摘要:实践成功方案:检查 testFailureIgnore 参数是否设置错误 参考 https://stackoverflow.com/questions/35730372/skip-build-failure-in-maven-if-the-integration-test-fails https:/ 阅读全文

posted @ 2020-11-16 17:50 frank_cui 阅读(137) 评论(0) 推荐(0) 编辑

Maven - build-helper-maven-plugin
摘要:详情:https://www.mojohaus.org/build-helper-maven-plugin/usage.html 阅读全文

posted @ 2020-11-16 16:46 frank_cui 阅读(887) 评论(0) 推荐(0) 编辑

Maven - maven-surefire-plugin 和 maven-failsafe-plugin
摘要:总结 maven-surefire-plugin :运行unit test maven-failsafe-plugin : 运行integration test (failsafe代表哪怕fail了也安全) 重要参考(必看): maven-failsafe-plugin官方文档: http://ma 阅读全文

posted @ 2020-11-13 17:36 frank_cui 阅读(1651) 评论(0) 推荐(0) 编辑

Maven - maven-enforcer-plugin
摘要:标签详解 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>1.4.1</version> <executions> <execut 阅读全文

posted @ 2020-05-25 15:32 frank_cui 阅读(945) 评论(0) 推荐(0) 编辑

1 2 下一页
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

levels of contents
点击右上角即可分享
微信分享提示