Booking options
£26.99
£26.99
On-Demand course
16 hours 19 minutes
All levels
This video covers the essential topics necessary for working with Apache Maven. You will understand the techniques and methods to create multi-module Apache Maven projects from scratch, along with delving into topics needed for testing and deploying Java applications.
Apache Maven is the most popular Java build tool used by over 70% of the Java organizations. Do you want to gain knowledge of Apache Maven to manage your Java applications successfully? This course will help you to develop Apache Maven skills and show you the best practices to build, test, manage, and deploy Java projects. The course starts with an introduction to Apache Maven, explaining the installation process and highlighting its uses in the real-world. Next, you will use Maven to build and package Java projects and to run unit and integration tests written in JUnit, TestNG, and Spock. Moving along, you will generate source code from the Extensible Markup Language (XML) and JavaScript Object Notation (JSON) schemas and get to grips with the concepts of the Apache Maven plug-in. Next, you will build the Spring Boot applications with Apache Maven and learn the techniques to improve the code quality. Later, you will develop multi-module Maven projects, deploy project artifacts to Maven repositories, and learn how to use Maven build profiles. Finally, you will use the Maven release plug-in to perform releases and discover enterprise dependency management using Bills of Materials (BOMs). By the end of this course, you will have gained the essential Apache Maven skills needed to build, test, manage, and deploy Java applications. All the recourses for this course are available at https://github.com/packtpublishing/apache-maven-beginner-to-guru
Become familiar with the lifecycle of Maven builds
Create multi-module Apache Maven projects
Configure Apache Maven Plug-ins for real-world use cases
Generate Java classes with Project Lombok and Maven
Deploy Java projects to Maven repositories
Unlock the valuable capabilities of the Spring Boot Maven plug-in
This course is for Java developers, DevOps engineers, technical managers, and Quality assurance (QA) engineers, who are looking to build, test, manage, and deploy Java applications using Apache Maven. Basic knowledge of Java programming is needed to get started with this course.
This practical course will help you get started with the Apache Maven tool. Featuring interesting examples and real-world activities, it will help you to get hands-on experience in using Apache Maven to build and manage Java applications.
Find out why Apache Maven is an excellent choice as a Java build tool * Learn how to create Apache Maven projects from scratch * Discover how to use Maven with popular alternative Java Virtual Machine (JVM) languages, such as Groovy, Kotlin, and Scala
https://github.com/packtpublishing/apache-maven-beginner-to-guru
John Thompson has been in the IT industry for over 20 years. Today, he specializes mainly in Java, the most successful and widely known programming language in use today. He also specializes in the Spring Framework, which the most popular open-source application framework for building enterprise-class applications on the Java platform. Just some of the organizations he worked with include Visa, Kohls, Federal Home Loan Bank, and Belk Department Stores. Through the courses he is providing, he hopes to leverage his years of experience to accelerate your learning of the Spring Framework. The Spring Framework is a big framework. The environment for enterprise Java is even bigger. If you're new to Java, you have a lot to learn.
1. Apache Maven Introduction
1. Welcome to Apache Maven - Beginner to Guru Course This video provides an introduction to the course. |
2. Meeting Your Instructor This video introduces you to your instructor. |
3. Getting the Most out of this Course This video explains how to get the most out of this course. |
4. Why Use Apache Maven? This video explains why to use Apache Maven. |
2. Getting Started
1. Introduction This video provides an introduction to Apache Maven. |
2. System Requirements This video explains the system requirements for Apache Maven. |
3. Environment Verification This video demonstrates how to verify the environment set up for Apache Maven. |
4. Conclusion This video provides a conclusion for this section. |
3. Compiling Java
1. Introduction This video introduces you to Java. |
2. Reviewing of Java Compile and Packaging This video demonstrates how to review Java compile and perform the packaging. |
3. Hello World - Java Command Line This video explains how to write the Hello World program in Java using the Java command line. |
4. Creating the Java jar Files From the Command Line This video demonstrates how to create the Java jar files from the command line. |
5. Using Third-party Jars with the Command Line in Java This video demonstrates how to use the third-party jars with the command line in Java. |
6. Conclusion This video provides a conclusion for this section. |
4. Getting Started with Maven
1. Introduction This video introduces you to Maven. |
2. Compiling and Packaging with Maven This video demonstrates how to compile and package with Maven. |
3. Including Dependencies with Maven This video explains how to include dependencies with Maven. |
4. Creating a New Maven Project with IntelliJ This video demonstrates how to create a new Maven project with IntelliJ. |
5. Assignment - Adding StringUtils Dependency to a Project This video presents an assignment on adding the StringUtils dependency to a project. |
6. Assignment Review - Adding StringUtils Dependency to a Project This video provides an assignment review for adding the StringUtils dependency to a project. |
5. Maven Basics
1. Introduction This video introduces you to the Maven basics. |
2. Maven Coordinates This video explains about the Maven coordinates. |
3. Maven Repositories This video provides an introduction to the Maven repositories. |
4. Maven Wagon This video explains about Maven wagon. |
5. Maven Project Object Model This video focuses on the Maven project object model. |
6. Maven Dependencies This video introduces you to Maven dependencies. |
7. Maven Standard Directory Layout This video explains the Maven standard directory layout. |
8. Maven Build Lifecycles This video provides an introduction to Maven build lifecycles. |
9. Maven Wrapper This video focuses on Maven wrapper. |
10. Maven Archetypes This video introduces you to Maven archetypes. |
11. Conclusion This video provides a conclusion for this section. |
6. Common Maven Plug-ins
1. Introduction This video provides an introduction of the Maven plug-ins. |
2. Overview Maven Lifecycle Plug-ins This video presents an overview of the Maven lifecycle plug-ins. |
3. Maven Clean Plug-in This video explains the Maven clean plug-in. |
4. Maven Compiler Plug-in This video introduces you to the Maven compiler plug-in. |
5. Maven Resources Plug-in This video focuses on the Maven resources plug-in. |
6. Maven Surefire Plug-in This video provides an introduction to the Mavens Surefire plug-in. |
7. Maven Jar Plug-in This video explains the Maven jar plug-in. |
8. Maven Deploy Plug-in This video introduces you to the Maven deploy plug-in. |
9. Maven Site Plug-in This video focuses on the Maven site plug-in. |
10. Maven and Source Control This video explains how to work with the source control in Maven. |
11. Other Maven Plug-ins This video introduces you to other Maven plug-ins. |
12. Common Maven Commands and Cheat Sheet This video focuses on the common Maven commands and cheats sheet. |
13. Conclusion This video provides a conclusion for this section. |
7. Generating Source with Maven
1. Introduction This video demonstrates how to generate a source with Maven. |
2. XML Schema Definition (XSD) to Java with Maven This video demonstrates how to generate a source from XSD to Java with Maven. |
3. Assignment - Cleaning the JAXB Project Automatically This video presents an assignment on cleaning the JAXB project automatically. |
4. Assignment Review - Cleaning the JAXB Project Automatically This video provides an assignment review for cleaning the JAXB project automatically. |
5. Using Maven to Generate Java Classes from the JavaScript Object Notation (JSON) Schema This video demonstrates how to use Maven to generate Java classes from the JSON schema. |
6. Challenge - Creating a Lombok Project with Maven This video presents a challenge to create a Lombok project with Maven. |
7. Generating Java Classes with Project Lombok and Maven This video explains how to generate Java classes using project Lombok and Maven. |
8. Challenge - Creating a MapStruct Project with Maven This video presents a challenge to create a MapStruct project with Maven. |
9. Generating Java Classes with MapStruct and Maven This video demonstrates how to generate Java classes with MapStruct and Maven. |
10. Conclusion This video provides a conclusion for this section. |
8. Alternate JVM Languages
1. Introduction This video introduces you to various JVM languages. |
2. Overview of Alternate JVM Languages with Maven This video presents an overview of alternate JVM languages with Maven. |
3. Compiling Groovy with Maven This video demonstrates how to compile Groovy with Maven. |
4. Compiling Kotlin with Maven This video explains how to compile Kotlin with Maven. |
5. Compiling Scala with Maven This video demonstrates how to compile Scala with Maven. |
6. Conclusion This video provides a conclusion for this section. |
9. Testing with Maven
1. Introduction This video provides an introduction to testing with Maven. |
2. Overview of Testing with Maven This video presents an overview of testing with Maven. |
3. Using Maven Surefire for the Plain Old Java Object (POJO) Unit Tests This video demonstrates how to use the Maven Surefire plug-in for POJO unit tests. |
4. Using Maven Surefire for JUnit 4 Unit Tests This video explains how to use Maven Surefire for JUnit 4 unit tests. |
5. Using Maven Surefire for JUnit 5 Unit Tests This video demonstrates how to use Maven Surefire for JUnit 5 unit tests. |
6. Using Maven Surefire for JUnit 4 and JUnit 5 Tests This video explains how to use Maven Surefire for JUnit 4 and JUnit 5 unit tests. |
7. Assignment: Adding Groovy and JUnit 4 Support to a Maven Project This video presents an assignment about adding Groovy and Junit 4 support to a Maven project. |
8. Assignment Review This video provides an assignment review for adding Groovy and Junit 4 support to a Maven project. |
9. Using Maven Surefire for Spock Tests This video demonstrates how to use Maven Surefire for Spock tests. |
10. Challenge: Use JUnit 5 with Spock This video presents a challenge to use JUnit 5 with Spock. |
11. Using Spock with JUnit 5 This video explains how to use Spock with Junit 5. |
12. Using Maven Surefire for TestNG Unit Tests This video demonstrates how to use Maven Surefire for TestNG unit tests. |
13. Generating Test Reports with Maven This video explains how to generate test reports with Maven. |
14. Running Integration Tests with Maven Failsafe This video demonstrates how to run integration tests with Maven failsafe. |
15. Code Coverage with JaCoCo This video explains how to calculate code coverage using the JaCoCo library. |
16. Maven SpotBugs Report This video demonstrates how to generate the Maven SpotBugs report. |
17. Setting a Maven Version in IntelliJ This video explains how to set up a Maven version in IntelliJ. |
18. Assignment - Fixing a Broken Maven Project This video presents an assignment to fixing a broken Maven project. |
19. Assignment Review This video provides an assignment review for fixing a broken Maven project. |
20. Skipping the Unit and Integration Tests in Maven This video explains how to skip the unit and integration tests in Maven. |
21. Conclusion This video provides a conclusion for this section. |
10. Multi-Module Projects
1. Introduction This video introduces you to multi-module projects. |
2. Overview of Multi-Module Projects This video presents an overview of multi-module projects. |
3. Creating a Parent Project This video demonstrates how to create a parent project. |
4. Creating a Project Module for Entities This video explains how to create a project module for entities. |
5. Using IntelliJ to Create a New Maven Module This video demonstrates how to create a new Maven module using IntelliJ. |
6. Assignment - Adding Module for API Model Using XML This video presents an assignment of adding a module for API model using XML. |
7. Assignment Review - Adding a Project Module for API Model This video provides an assignment review for adding a module for API model using XML. |
8. Maven Dependencies between Modules This video introduces you to Maven dependencies between modules. |
9. Assignment - Adding Module for the MapStruct Converters This video presents an assignment of adding a module for the MapStruct converters. |
10. Assignment Review - Adding the MapStruct Module This video provides an assignment review for adding a module for the MapStruct converters. |
11. Setting a Version Using Maven Property This video demonstrates how to set a version using Maven property. |
12. Maven Flatten Plug-in This video introduces you to the Maven flatten plug-in. |
13. Maven Enforcer Plug-in This video explains the Maven enforcer plug-in. |
14. Assignment - Repairing a Multi-Module Maven Project This video presents an assignment about repairing a multi-module Maven project. |
15. Assignment Review - Repairing a Multi-Module Maven Project This video provides an assignment review for the repairing a multi-module Maven project. |
16. Overview of Maven Bill of Materials (BOM) This video presents an overview of Maven BOM. |
17. Example of Maven Bill of Materials (BOM) This video provides an example of Maven BOM. |
18. Conclusion This video provides a conclusion for this section. |
11. Apache Maven for Spring Boot
1. Introduction This video provides an introduction to Apache Maven for Spring Boot. |
2. Spring Boot Parent Project Object Model (POM) and Bill of Materials (BOM) This video introduces you to Spring Boot parent POM and BOM. |
3. Creating a Project with Spring Initializr This video demonstrates how to create a project with Spring Initializr. |
4. Spring Boot Starter Dependencies This video explains the Spring Boot starter dependencies. |
5. Spring Boot Fat JAR This video introduces you to Spring Boot fat jar. |
6. Running Spring Boot from Maven This video explains how to run Spring Boot from Maven. |
7. Spring Boot Integration Tests with the Maven Failsafe Plug-in This video explains the Spring Boot integration tests with the Maven failsafe plug-in. |
8. Generating Build Information with Maven This video demonstrates how to generate build information from Maven. |
9. Adding Git Information to Maven Build This video explains how to add git information to Maven build. |
10. Multi-Module Spring Boot Projects This video explains the multi-module Spring Boot projects. |
11. Assignment - Creating a Spring Boot Multi-Module Project This video presents an assignment of creating a Spring Boot multi-module project. |
12. Assignment Review - Creating Spring Boot Multi-Module Project This video provides an assignment review of the creating Spring Boot multi-module project. |
13. Conclusion This video provides a conclusion for this section. |
12. Maven Repositories
1. Introduction to Maven Repositories This video introduces you to Maven repositories. |
2. Configuring of Maven Repositories This video demonstrates how to configure Maven repositories. |
3. Configuring Mirror Repository in settings.xml This video explains how to configure a mirror repository in settings.xml. |
4. Common Public Maven Repositories This video explains the common public Maven repositories. |
5. Using JBoss Repository This video demonstrates how to use the JBoss repository. |
6. Introduction to Maven Settings This video introduces you to Maven settings. |
7. Assignment - Adding the JBoss Repository to setting.xml This video presents an assignment of adding the JBoss repository to setting.xml |
8. Assignment Review - Adding the JBoss Repository to setting.xml This video provides an assignment review for adding the JBoss repository to setting.xml |
9. Using Spring Repositories This video demonstrates how to use Spring repositories. |
10. Installing Dependencies Manually This video explains how to install dependencies manually. |
11. Overview - Using the Oracle Maven Repository This video demonstrates how to use the Oracle Maven repository. |
12. Configuring the Maven Master Password This video demonstrates how to configure the Maven master password. |
13. Configuring Maven for Oracle Maven Repository This video explains how to configure Maven for the Oracle Maven repository. |
14. Conclusion This video provides a conclusion for this section. |
13. Deploying to the Maven Projects to Packagecloud
1. Introduction This video introduces you to deploying to the Maven Projects to Packagecloud. |
2. Creating a Packagecloud Account This video demonstrates how to create a packagecloud account. |
3. Creating a Packagecloud Repository This video demonstrates how to create a packagecloud repository. |
4. Configuring Packagecloud Maven This video demonstrates how to configure packagecloud Maven. |
5. Assignment - Deploying Release to Packagecloud This video presents an assignment of deploying release to packagecloud. |
6. Assignment Review This video provides an assignment review for deploying release to packagecloud. |
7. Conclusion This video provides a conclusion for this section. |
14. Deploying the Apache Maven Projects to Nexus
1. Introduction This video introduces you to deploying the Apache Maven Projects to Nexus. |
2. Overview of Nexus Repository Manager This video presents an overview of the Nexus repository manager. |
3. Introduction to Nexus This video introduces you to Nexus. |
4. Creating a Snapshot Repository This video demonstrates how to create a snapshot repository. |
5. Assignment - Creating a Release Repository This video presents an assignment of creating a release repository. |
6. Assignment Review This video provides an assignment review for creating a release repository assignment. |
7. Nexus Repository Groups This video focuses on the Nexus repository groups. |
8. Conclusion This video provides a conclusion for this section. |
15. Maven Build Profiles
1. Introduction This video introduces you to the Maven build profiles. |
2. Overview of Maven Build Profiles This video presents an overview of the Maven build profiles. |
3. Creating a Packagecloud Build Profile This video demonstrates how to create a packagecloud build profile. |
4. Assignment - Creating a Nexus Build Profile This video presents an assignment of creating a Nexus build profile. |
5. Assignment Review This video provides an assignment review for creating a Nexus build profile. |
6. Using the Maven Profile Command Line This video explains how to use the Maven profile command line. |
7. Setting Properties in Profiles This video demonstrates how to set properties in profiles. |
8. Conclusion This video provides a conclusion for this section. |
16. Maven Release Plug-in
1. Introduction This video introduces you to the Maven release plug-in. |
2. Overview of the Maven Release Process This video presents an overview of the Maven release process. |
3. Configuring Maven Supply chain management (SCM) This video demonstrates how to configure Maven SCM. |
4. Configuring Maven Release Plug-in This video demonstrates how to configure the Maven release plug-in. |
5. Maven Release Prepare and Perform This video focuses on the Maven release prepare and perform plug-ins. |
6. Maven Release Rollback This video introduces you to the Maven release rollback plug-in. |
7. Example of Maven Release Error This video focuses on an example of the Maven release error. |
8. Maven Release Dry Run This video introduces you to the Maven release dry run plug-in. |
9. Configuring CircleCI This video demonstrates how to configure CircleCI. |
10. Deploy CircleCI to Packagecloud This video explains how to deploy CircleCI to packagecloud. |
11. Releasing CircleCI to Packagecloud This video demonstrates how to release CircleCI to packagecloud. |
12. Conclusion This video provides a conclusion for this section. |
17. Maven in the Real World
1. Introduction This video introduces you to Maven in the real world. |
2. Overview of Projects This video presents an overview of projects. |
3. Reviewing the Spring Cloud Contract This video demonstrates how to review the spring cloud contract. |
4. Reviewing the Spring Cloud Contract for OpenAPI This video explains how to review the spring cloud contract for OpenAPI. |
5. Example of a Spring Cloud Contract Fraud in OpenAPI This video presents an example of a spring cloud contract fraud in OpenAPI. |
6. Example - Payor Service This video provides an example of payor service. |
7. Resolving Dependency Conflicts This video demonstrates how to resolve dependency conflicts. |
8. Developing with Snapshot Versions This video explains how to develop with Maven snapshot versions. |
9. Deploying to Maven Central This video demonstrates how to deploy to Maven central. |
10. Upgrading the Dependent Projects to Release Version This video demonstrates how to update the dependent projects to release version. |
18. Enterprise Dependency Management
1. Introduction This video introduces you to enterprise dependency management. |
2. Maven Bill of Materials (BOM) This video explains about BOM. |
3. Creating Maven Bill of Materials (BOM) This video demonstrates how to create Maven BOM. |
4. Setting Common Properties in Maven Bill of Materials (BOM) This video explains how to set common properties in Maven BOM. |
5. Maven Bill of Materials (BOM) Dependency Management This video introduces you to Maven BOM dependency management. |
6. Maven Bill of Materials (BOM) Common Dependencies This video focuses on Maven BOM common dependencies. |
7. Maven Bill of Materials (BOM) Common Build Plug-ins This video introduces you to the Maven BOM common build plug-ins. |
8. Maven Enforcer Build Plug-in This video explains the Maven enforcer build a plug-in. |
9. Configuring Beer Service Parent Bill of Materials (BOM) This video demonstrates how to configure beer service parent BOM. |
10. Assignment - Updating Services to Use Bill of Materials (BOM) This video presents an assignment of updating services to use BOM. |
11. Assignment Review This video provides an assignment review for updating services to use Bill of Materials (BOM). |
12. Using Released Bills of Materials (BOMs) This video demonstrates how to use the released BOMs. |
13. Assignment - Updating Services to use Release Bill of Materials (BOM) This video presents an assignment about updating services to use release BOM. |
14. Assignment Review This video provides an assignment review for updating services to use release Bill of Materials (BOM). |
15. IntelliJ Workspace - Tips and Tricks This video provides some tips and tricks related to IntelliJ workspace. |
16. Conclusion This video provides a conclusion for this section. |