Introducing Maven
1h 36mIntermediate2019-04-30
Authors

Frank P Moley III
Senior Principal Engineer at Catch&Release
Course details
Apache Maven is a powerful build system used by thousands of Java developers on enterprise, freelance, and open-source projects. But it can do so much more. This course focuses on the basics of using Maven for dependency management, builds, and reporting. Instructor Frank Moley starts with the foundations: the project object model (POM) and POM elements, including properties and dependencies. He then reviews the build life cycle, showing how to leverage the Core and Tools plugins to automate tasks like cleanup and compile. He also shows how to manage dependencies, including creating uber JAR files to package executables with their dependencies. Finally, he covers reporting with Maven sites and popular plugins. By the end of the course, you should be familiar enough with Maven to use it to meet the needs of almost any Java project, from simple components to unique customized builds.
Learning objectives
Exploring POM files
The build life cycle
Using build plugins
Dependency management with Maven
Maven reporting
Working with Maven sites
Learning objectives
Exploring POM files
The build life cycle
Using build plugins
Dependency management with Maven
Maven reporting
Working with Maven sites
Skills covered
MavenApacheDevOps ToolsJavaOracleDevOpsLearning
Concepts
0. Introduction
- 01 - Building Java the Maven way
- 02 - What you need to know
1. Maven Basics
- 03 - Introduction to Apache Maven
- 04 - The Java project structure
- 05 - The POM file
- 06 - POM properties
- 07 - Dependencies
- 08 - Build
- 09 - Reporting
- 10 - Reactors and parents
- 11 - Understanding archetypes
2. Build
- 12 - Introduction to the build lifecycle
- 13 - Leveraging build plugins
- 14 - Core plugins
- 15 - Tools plugins
- 16 - Packaging plugins
3. Dependencies
- 17 - Scope
- 18 - Transitive dependencies
- 19 - Dependency management
- 20 - Dependency goals
- 21 - Uber JARs
4. Reporting
- 22 - Maven sites
- 23 - Site look and feel
- 24 - Common reporting plugins
Conclusion
- 25 - Next steps