Maven学习
文章平均质量分 89
先到Maven英文官网学习,再解决实际开发过程遇到的问题,最后分析总结经验,形成自己的知识体系。
ltb_jcgx
Sharing is a virtue.
展开
-
08-可选和排除依赖
This section discusses optional dependencies and dependency exclusions. This will help users to understand what they are and when and how to use them. It also explains why exclusions are made on a per dependency basis instead of at the POM level.Optional d原创 2023-08-17 10:57:33 · 58 阅读 · 0 评论 -
07-依赖机制简介
Introduction to the Dependency MechanismDependency management is a core feature of Maven. Managing dependencies for a single project is easy. Managing dependencies for multi-module projects and applications that consist of hundreds of modules is possible.原创 2023-08-17 10:56:18 · 113 阅读 · 0 评论 -
06-标准目录布局
【代码】06-标准目录布局。原创 2023-08-17 10:55:15 · 33 阅读 · 0 评论 -
05-profiles-active
Apache Maven goes to great lengths to【竭尽全力】 ensure that builds are portable【便携的;轻便的;可移植的】. Among other things【此外】, this means allowing build configuration inside the POM, avoiding all filesystem references (in inheritance, dependencies, and other places),原创 2023-08-17 10:54:12 · 58 阅读 · 0 评论 -
04-POM简介
【代码】04-POM简介。原创 2023-08-17 10:44:26 · 75 阅读 · 0 评论 -
03-Maven构建生命周期简介
Maven is based around【基于】 the central concept of a build lifecycle. What this means is that【这意味着】 the process for building and distributing a particular artifact (project) is clearly defined.For the person building a project, this means that【这意味着】 it is on原创 2023-08-17 10:42:19 · 34 阅读 · 0 评论 -
02-Maven项目坐标命名约定
每个maven项目都有一个坐标。groupId + artifactId + version + packaging + classifier 这五个维度的坐标可以唯一确定一个依赖包,任何一个项目都是用这五个坐标唯一定位到一个发布包。实际生产中用的最多的是groupId + artifactId + version这三个维度,后面两个维度99%的情况下用不到。我们需要在pom.xml里配置需要的依赖的坐标,然后maven会自动从中央仓库下载后缓存到本地仓库里。原创 2023-08-17 10:41:10 · 41 阅读 · 0 评论 -
01-Maven官网入门指南
maven是Apache的顶级项目,解释为“专家,内行”,它是一个项目管理的工具,maven自身是纯java开发的( Theresult is a tool that can now be used for building and managing any Java-basedproject),可以使用maven对java项目进行构建、依赖管理。POM 是 Maven 中的基本工作单元。简而言之,POM 包含有关您的项目的所有重要信息,并且本质上是一站式购物,可以找到与您的项目相关的任何信息。原创 2023-08-17 10:40:09 · 164 阅读 · 0 评论 -
Maven官网学习方法
更能理解术语的真正含义,因为Maven中文网翻译得实在太差。不懂的短语和单词使用百度翻译 - 词根记忆法很好,Maven官网英语词汇还是很好懂的,重要的是耐心,扩展词汇量,以后阅读其他英文官网越来越轻松;通过别人总结的博文,反向理解英语原文。Profiles文件激活;Maven构建生命周期;知识成体系,方法成套路。1、明确学习目标内容。2、耐心阅读英语原文。3、总结形成思维导图。原创 2023-08-16 17:47:27 · 46 阅读 · 1 评论