Training Outline

Introduction to Maven is a virtual training course that was designed to focus on practice not theory. This course brings everyone up to a base line of knowledge so your team can collaborate on Maven projects more effectively.

Module 1: Install and Run Maven

  • Download
  • Run
  • Install

Module 2: Building a Simple Project

  • Examining the pom.xml
  • Coordinates & dependencies
  • Directory structure
  • Modifying code & dependencies
  • Examining the output

Module 3: Working with Dependencies

  • Coordinates
  • Identifying a new requirement
  • Locating and adding a dependency in Maven Central
  • Modifying code to use a new dependency
  • Repository format
  • Release versions

Module 4: Writing and Executing Unit Tests

  • Plugins
  • JUnit tests
  • Test Resources
  • Including, excluding and running tests
  • Parallel test execution
  • Configuration examples

Module 5: Building Your Software

  • Goals
  • Plugins
  • Lifecycle
  • Convention over configuration
  • Life without Maven

Module 6: Packaging Your Software

  • WAR plugin
  • Assembly plugin
  • Standalone java program
  • Building a program that creates a jar with dependencies
  • JAR plugin
  • EAR plugin
  • SNAPSHOT versions

Module 7: Creating a Multi-module Project

  • File system structure with a top-level directory
  • pom.xml files with relationships
  • Why group projects together?
  • Inheritance
  • Aggregation
  • Version number alignment
  • Multi-module builds
  • The reactor
  • Multiple levels of hierarchy