Maven

Categories: Maven Java Build Tools
Course Length: 3 Days

Maven is the de-facto build-tool in Java and Spring. Gradle comes in at a close second. It was one of the first, if not the first to make use of downloaded dependencies and calculating hashes for verification. It manages an entire development lifecycle, and enjoys a wide array of plugins from the community.

  • Introduction to Maven

    • Maven History

    • Maven Architecture

    • Maven Installation

    • Maven Configuration

  • Maven, the Plugin Execution Framework

    • Running Maven as a Plugin

    • groupID, artifactID, version

    • Creating a Project

    • Project Object Model

    • Reviewing the Maven Project

  • Maven Build Lifecycle

    • compile

    • test-compile

    • test

    • package

    • process-resources

    • process-test-resources

    • install

    • deploy

  • Maven Clean Lifecycle

    • pre-clean

    • clean

    • post-clean

  • Super POM

    • help:effective-pom

    • Reviewing the Effective POM

  • Versioning

  • Manipulating Projects

  • Properties

    • Project Properties

    • Environmental Properties

    • Settings Properties

    • User-Defined Properties

  • Dependencies

    • Setting Dependencies

    • Versioning

    • Transitive Dependencies

    • Optional Dependencies

  • Plugin Configuration and Manipulation

    • Compiler Plugin

    • Surefire Plugin

    • Jar Plugin

    • Assembly Plugin

    • Report Plugins

  • Resource Filtering

    • Including Resources

    • Excluding Resources

  • Profiles

    • Defining Profiles

    • Activating Profiles

  • Multimodule Projects

  • Web Projects

  • Plugin Groups

  • Deploying to Artifactory or Nexus