Mô tả

Apache Maven is the most popular Java build tool. Companies and Open Source communities around the world, consider Apache Maven the 'go-to' build tool for their Java projects.

In this course, you will learn to master Apache Maven. You will become a 'guru' using Apache Maven.

No previous experience with Apache Maven is required.

In just a few lessons, you will be building your first Apache Maven project! 

In this course, you will:

  • Learn about the Maven Build Lifecycles

  • Use Maven to build and package Java projects

  • See how to use Maven with popular alternative JVM languages, including Groovy, Kotlin, and Scala

  • Configure Maven to run your unit and integration tests written in JUnit 3, JUnit 4, JUnit 5, TestNG, and Spock

  • Generate source code from XML and JSON Schemas

  • Leverage annotation processing at compile time for Project Lombok and Mapstruct

  • Learn in depth about the Apache Maven plugin system and see how plugins are used in the build lifecycle

  • Build Spring Boot applications with Apache Maven

  • Improve your code quality with code coverage and spot bugs reports

  • Unlock valuable capabilities of the Spring Boot Maven plugin!

  • Deploy project artifacts to Maven repositories

  • Develop multi-module Maven projects

  • Learn how to use Maven Build Profiles

  • Perform Releases using the Maven Release Plugin

  • How to use Maven for Enterprise Dependency management by using BOMs

  • And much more!

This is course is for the modern Java developer.

The entire course has been developed using Java 11.

Course Extras

  • All Source Code in GitHub - Get access to over a dozen GitHub repositories with valuable examples!

  • Slack Community - Join the instructor, teacher's assistants, and over 1,100 other students in a Slack Community exclusive to this course!

  • Free 120 Day IntelliJ Ultimate Trial - Students enrolling in the course can request a free 120 day trial for IntelliJ Ultimate (the most popular Java IDE!)

  • Closed Captioning / Subtitles - Closed captioning in english is available for all course videos!

  • PDF Downloads - All keynote presentations are available for you to download as PDFs.

  • Lifetime Access - When you purchase this course, you will receive lifetime access! You can login anytime from anywhere to access the course content.

Apache Maven is used by over 70% of Java organizations. Employers are seeking people with strong Maven skills.

Completing this course, you will be able to answer interview questions about Maven with confidence! 

Even if you're already a Java developer using Apache Maven, this course will improve your Maven skills and show you new valuable best practices for your Java projects.

Enroll today!

Bạn sẽ học được gì

Learn Apache Maven, the most popular Java build tool!

Create Apache Maven Projects from scratch

See how to configure Apache Maven Plugins for Real World use cases

Use Apache Maven to build, test, package, and deploy your Java application

See how to create multi-module Apache Maven projects

Configure Maven Plugins to work within Maven Build Lifecycles

Deploy your Java project to Maven Central or other Maven repositories

Leverage Apache Maven's Convention over Configuration

Yêu cầu

  • Must have knowledge of Java programming. (Java 1.8 or higher is ideal)
  • Computer capable of supporting Java 11 development with internet access
  • Fundamental XML knowledge helpful

Nội dung khoá học

19 sections

Apache Maven Introduction

8 lectures
Welcome to Apache Maven - Beginner to Guru course
01:41
Meet your Instructor
02:56
Getting the Most Out of this Course
08:45
Why Use Apache Maven?
08:01
Slack Group for Apache Maven: Beginner to Guru
00:51
Is your IDE Free Like a Puppy?
04:00
Free 120 Day IntelliJ IDEA Trial!
00:42
GitHub Workflow
12:20

Getting Started

5 lectures
Introduction
00:43
System Requirements
05:07
Maven Installation
01:39
Environment Verification
03:39
Conclusion
00:51

Compiling Java

7 lectures
Introduction
01:50
Review of Java Compile and Packaging
07:02
Hello World Java Command Line
04:44
Creating Java jar files from Command Line
03:56
Using 3rd Party Jars with Command Line Java
05:24
Quiz: Compiling Java
7 questions
Conclusion
00:36

Getting Started with Maven

8 lectures
Introduction
01:03
Compiling and Packaging with Maven
08:06
Including Dependencies with Maven
05:09
Creating a new Maven Project with IntelliJ
06:46
Assignment - Add StringUtils Dep to Project
01:34
Assignment Review - Add StringUtils Dep to Project
04:08
Quiz - Getting Started with Maven
7 questions
Conclusion
00:37

Maven Basics

11 lectures
Introduction
01:18
Maven Coordinates
05:53
Maven Repositories
10:26
Maven Wagon
03:12
Maven Project Object Model
04:55
Maven Dependencies
08:54
Maven Standard Directory Layout
04:29
Maven Build Lifecycles
09:42
Maven Wrapper
07:08
Maven Archetypes
08:05
Conclusion
00:53

Common Maven Plugins

13 lectures
Introduction
01:01
Overview Maven Lifecycle Plugins
09:25
Maven Clean Plugin
06:32
Maven Compiler Plugin
03:25
Maven Resources Plugin
03:51
Maven Surefire Plugin
04:24
Maven Jar Plugin
09:23
Maven Deploy Plugin
03:49
Maven Site Plugin
05:51
Maven and Source Control
05:03
Other Maven Plugins
06:52
Common Maven Commands and CheatSheet
06:42
Conclusion
01:03

Generating Source with Maven

10 lectures
Introduction
00:47
XSD to Java with Maven
12:38
Assignment - Clean JAXB Project Automatically
01:03
Assignment Review - Clean JAXB Project Automatically
02:31
Using Maven to Generate Java Classes from JSON Schema
12:12
Challenge - Create Project Lombok Project with Maven
02:55
Generating Java Classes with Project Lombok and Maven
07:42
Challenge - Create MapStruct Project with Maven
02:43
Generating Java Classes with MapStruct and Maven
11:54
Conclusion
01:55

Alternate JVM Languages

6 lectures
Introduction
02:21
Overview of Alternate JVM Languages with Maven
05:08
Compile Groovy with Maven
08:49
Compile Kotlin with Maven
08:07
Compile Scala with Maven
02:41
Conclusion
01:00

Testing with Maven

21 lectures
Introduction
02:43
Overview of Testing with Maven
02:56
Using Maven Surefire for POJO Unit Tests
05:17
Using Maven Surefire for JUnit 4 Unit Tests
03:01
Using Maven Surefire for JUnit 5 Unit Tests
05:55
Using Maven Surefire for JUnit 4 and JUnit 5 Tests
05:40
Assignment: Add Groovy and JUnit 4 Support to Maven Project
01:32
Assignment Review
04:19
Using Maven Surefire for Spock Tests
10:42
Challenge: Use JUnit 5 with Spock
01:00
Using Spock with JUnit 5
05:48
Using Maven Surefire for TestNG Unit Tests
03:43
Generating Test Reports with Maven
04:44
Running Integration Tests with Maven Failsafe
06:34
Code Coverage with Jacoco
07:42
Maven Spot Bugs Report
03:50
Setting Maven Version in IntelliJ
04:13
Assignment - Fix Broken Maven Project
03:24
Assignment Review
13:35
Skipping Unit and Integration Tests in Maven
04:50
Conclusion
01:15

Multi-Module Projects

18 lectures
Introduction
01:32
Overview of Multi Module Projects
07:32
Creating Parent Project
03:22
Create Project Module for Entities
10:34
Using IntelliJ to Create New Maven Module
04:58
Assignment Add Module for API Model Using XML
02:06
Assignment Review Adding Project Module for API Model
08:37
Maven Dependencies Between Modules
09:34
Assignment Add Module for MapStruct Converters
01:24
Assignment Review - Add MapStruct Module
10:25
Setting Version via Maven Property
05:40
Maven Flatten Plugin
06:46
Maven Enforcer Plugin
06:03
Assignment - Repair Multi-Module Maven Project
01:24
Assignment Review - Repair Multi-Module Maven Project
06:58
Overview of Maven Bill of Materials (BOM)
04:39
Example of Maven BOM
05:38
Conclusion
01:38

Apache Maven for Spring Boot

13 lectures
Introduction
01:19
Spring Boot Parent POM and BOM
08:28
Creating Project with Spring Initializr
05:30
Spring Boot Starter Dependencies
06:23
Spring Boot Fat JAR
09:25
Running Spring Boot from Maven
05:15
Spring Boot Integration Tests with Maven Failsafe
04:10
Generate Build Information with Maven
06:05
Add Git Information to Maven Build
06:06
Multi-Module Spring Boot Projects
15:57
Assignment - Create Spring Boot Multi-Module Project
01:32
Assignment Review - Create Spring Boot Multi-Module Project
19:53
Conclusion
01:32

Maven Repositories

15 lectures
Introduction to Maven Repositories
01:29
Configuration of Maven Repositories
05:11
Configure Mirror Repository in settings.xml
04:19
Common Public Maven Repositories
04:53
Using JBoss Repository
04:20
Introduction to Maven Settings
08:21
Assignment - Add JBoss Repository to Settings XML
02:33
Assignment Review - Add JBoss Repository to Settings XML
05:35
Using Spring Repositories
08:29
Manually Installing Dependencies
06:50
Overview Using Oracle Maven Repository
04:14
Configuring Oracle Maven Repository
00:23
Configure Maven Master Password
04:20
Configuring Maven for Oracle Maven Repository
07:52
Conclusion
01:02

Deploying to Maven Projects to Packagecloud

8 lectures
Introduction
01:38
Packagecloud Account Creation
02:45
Packagecloud Free Account
00:13
Create Packagecloud Repository
01:46
Packagecloud Maven Configuration
08:58
Assignment - Deploy Release to Packagecloud
01:13
Assignment Review
04:03
Conclusion
00:45

Deploying Apache Maven Projects to Nexus

9 lectures
Introduction
01:50
Nexus Repository Manager Overview
08:00
Installing Nexus
00:59
Introduction to Nexus
08:28
Create Snapshot Repository
06:09
Assignment - Create Release Repository
00:53
Assignment Review
05:48
Nexus Repository Groups
09:05
Conclusion
01:50

Maven Build Profiles

8 lectures
Introduction
00:56
Overview of Maven Build Profiles
08:09
Creating Packagecloud Build Profile
05:09
Assignment - Create Nexus Build Profile
01:20
Assignment Review
08:15
Maven Profile Command Line Usage
07:15
Setting Properties in Profiles
06:50
Conclusion
01:26

Maven Release Plugin

12 lectures
Introduction
01:52
Maven Release Process Overview
07:42
Maven SCM Configuration
05:13
Maven Release Plugin Configuration
05:52
Maven Release Prepare and Perform
04:03
Maven Release Rollback
04:01
Maven Release Example Error
03:40
Maven Release Dry Run
02:59
CircleCI Configuration
07:20
CircleCI Deploy to Packagecloud
05:36
CircleCI Release to Packagecloud
12:05
Conclusion
00:59

Maven in the Real World

10 lectures
Introduction
01:05
Overview of Projects
06:32
Review Spring Cloud Contract
08:12
Review Spring Cloud Contract for OpenAPI
04:16
Spring Cloud Contract Fraud Example in OpenAPI
02:48
Example Payor Service
03:43
Resolving Dependency Conflicts
03:39
Development with Snapshot Versions
12:50
Deployment to Maven Central
13:28
Upgrading Dependent Projects to Release Version
04:02

Enterprise Dependency Management

16 lectures
Introduction
03:22
Maven Bill of Materials
04:33
Maven BOM Creation
06:02
Maven BOM Setting Common Properties
06:56
Maven BOM Dependency Management
05:14
Maven BOM Common Dependencies
06:15
Maven BOM Common Build Plugins
03:45
Maven Enforcer Build Plugin
05:48
Beer Service Parent BOM Configuration
11:31
Assignment - Update Services to use BOM
02:00
Assignment Review
06:41
Using Released BOMs
10:24
Assignment - Update Services to use Release BOM
01:54
Assignment Review
06:52
IntelliJ Workspace Tips and Tricks
10:07
Conclusion
01:43

Appendix A: Using GitHub

2 lectures
Git and GitHub Basics - Start here!
00:44
GitHub Workflow
12:20

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.