
Apache Maven 是一个强大的软件项目管理、构建和理解工具,主要用于 Java 软件项目。它是用 Java 实现的,使其与平台无关。
构建工具的工作是执行最终产品的编译、测试、打包和部署。自动执行这些步骤而不是人工执行这些步骤的优点是构建可重现、更快且不易出错。Maven 可以执行这些活动,例如,创建网站、上传构建结果或生成报告。Maven 还支持为应用程序创建初始文件夹结构,以便于上手。
专注于项目对象模型 (POM),Maven 可以从一条中心信息管理项目的构建、报告和文档。
Maven 用于项目构建、依赖和文档。它像 ANT 一样简化了构建过程,实际上它更先进。总之,maven 是一个可用于构建和管理任何基于 Java 的项目的工具。Maven 使 Java 开发人员的日常工作更加轻松,并且通常有助于理解任何基于 Java 的项目。
Maven 的主要特性包括
使用 maven 轻松构建项目
使用 maven 轻松添加项目的 jar 和其他依赖项。它支持定义和使用对其他库和项目的依赖项。在构建过程中,Maven 构建系统会解析依赖关系,如果需要,它还会构建依赖项目。
Maven 提供项目信息(日志文档、依赖列表、单元测试报告等)
Maven 在更新 JAR 和其他依赖项的中央存储库时对项目非常有帮助
无需编写任何脚本即可将任意数量的项目构建为 JAR、WAR 等输出类型
使用 maven,我们可以轻松地将我们的项目与源代码控制系统(例如 Subversion 或 Git)集成
通过选择真实世界的默认值并提供项目模板来避免尽可能多的配置
Maven 构建系统可通过插件进行扩展,这允许保持 Maven 核心较小。例如,Maven 核心不知道如何编译 Java 源代码,这是由编译器插件处理的。
课程目标
下载、安装 Maven 并运行一个简单的构建
了解 Maven 基础知识和概念
了解 Maven 配置要点
为项目配置和定位依赖项
配置插件以运行单元测试
创建和配置 Maven 多模块项目
Apache Maven – 课程大纲
Maven介绍
下载和安装 Maven
Maven 存储库
在 CLI 中创建 Maven 独立项目
什么是 JAR、WAR、EAR 文件
Maven 构建生命周期
以非交互方式开发独立的 Maven 项目
使用 Maven 运行测试用例
在 CLI 中创建 Maven Web 项目
通过 IDE 创建 Maven 独立项目
通过 IDE 创建 Maven Web 项目
将依赖项添加到 pom.xml
依赖链
Maven 范围
Learn to perform projects build, dependency & documentation using Maven. Become a DevOps engineer with maven expertise
Published 10/2022
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 14 lectures (5h 32m) | Size: 2.48 GB
What you’ll learn
Get introduced to Maven, a powerful build automation tool used primarily for Java projects
Learn to download and install Maven
Define Maven Repositories
Create Maven Standalone Project in CLI
Create Maven Web Project through IDE
Understand what are JAR, WAR, EAR files
Describe Maven Build Life Cycle
Develop Standalone Maven Project
Learn how to run Test Cases with Maven
Learn how to add Dependencies to pom xml
Understand Dependency Chain and Maven Scopes
Requirements
Enthusiasm and determination to make your mark on the world!
Description
A warm welcome to the Apache Maven course by Uplatz.
Apache Maven is a powerful software project management, build and comprehension tool build primarily for Java software projects. It is implemented in Java that makes it platform-independent.
The job of Build tools is to perform the compilation, testing, packaging and deployment of the final product. The advantages of performing these steps automatically instead of a human performing these steps is that the build is reproducible, faster and less error prone. Maven can perform these activities, e.g., create web sites, upload build results or generate reports. Maven also supports the creation of the initial folder structure for applications to make it easy to get started.
Focused on project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information.
Maven is used for projects build, dependency and documentation. It simplifies the build process like ANT, infact it’s much more advanced. In summary, maven is a tool that can be used for building and managing any Java-based project. Maven make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project.
The key features of Maven include
Easily build a project using maven
Add jars and other dependencies of the project easily using the help of maven. It supports the definition and usage of dependencies to other libraries and projects. During the build, the Maven build system resolves the dependencies and it also builds the dependent projects if needed.
Maven provides project information (log document, dependency list, unit test reports etc.)
Maven is very helpful for a project while updating central repository of JARs and other dependencies
Build any number of projects into output types like the JAR, WAR etc without doing any scripting
Using maven we can easily integrate our project with source control system (such as Subversion or Git)
Avoid as much configuration as possible, by choosing real world default values and supplying project templates
Maven build system is extensible via plug-ins, which allows to keep the Maven core small. The Maven core does for example not know how to compile Java source code, this is handled by the compiler plug-in.
Course Objectives
Download, install Maven and run a simple build
Understand Maven fundamentals and concepts
Understand Maven configuration essentials
Configure and locate dependencies for a project
Configure plugins to run unit tests
Create and configure Maven multi-module projects
Apache Maven – Course Syllabus
Maven Introduction
Downloading and Installing Maven
Maven Repositories
Creating Maven Standalone Project in CLI
What are JAR, WAR, EAR files
Maven Build Life Cycle
Developing Standalone Maven Project in Non-Interactive Mode
Running Test Cases with Maven
Creating Maven Web Project in CLI
Creating Maven Standalone Project through IDE
Creating Maven Web Project through IDE
Adding Dependencies to pom.xml
Dependency Chain
Maven Scopes
Who this course is for
DevOps Engineers – Maven, JUnit 5, Jenkins, ANT
Platform Engineers
Site Reliability Engineers
Maven Specialists
Automation Testers
Java/Maven Developers & Testers
Project Deployment Engineers
Software Developers
Software Build Specialists
Software Engineers
Java Developers
DevOps Specialists
原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/37759.html