Apache Maven Fast Track


Course Number: MVN-102WA
Duration: 1 day (6.5 hours)
Format: Live, hands-on

Apache Maven Training Overview

This Apache Maven Fast Track training course teaches how to install, configure, and use Apache Maven for building and managing dependencies in Java applications. The course includes coverage of running Maven commands at both within the command line and in either Eclipse or IntelliJ.

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Download, install, and configure Maven
  • Build a project
  • Work with Maven's project directory structure, plugins, repositories, and more
  • Understand the Project Object Model (POM)
  • Build a complete web application using Maven
  • Work with commonly used Maven plugins
  • Build multi-module applications

Prerequisites

All attendees must have Java experience.

Outline

Expand All | Collapse All

Introduction to Apache Maven
  • Build Tools for Java
  • History of Build Tools
  • Traditional Scripting
  • 'make'
  • Problems with Make
  • Manual Build with JavaC
  • ANT
  • Pros and Cons of Ant
  • Apache Maven
  • Goals of Maven
  • What is Apache Maven?
  • Why Use Apache Maven?
  • The Maven EcoSystem
  • Consistent Easy-to-Understand Project Layout
  • Convention Over Configuration
  • Maven is Different
  • Maven Projects have a Standardized Build
  • Effect of Convention Over Configuration
  • Importance of Plugins
  • A Key Point on Maven!
  • Key Features of Maven
Installing and Running Apache Maven
  • Downloading Maven
  • Installing Maven
  • Run From Command Line
  • Running Inside an IDE
  • Settings.xml
  • Local Repository
Getting Started With Maven
  • Terminology and Basic Concepts
  • Artifacts
  • Lifecycle
  • Default Lifecycle
  • Plugins
  • Running Maven - the Story So Far
  • Running Maven from an IDE
  • Common Goals
  • pom.xml
  • Artifact Coordinates
  • Standard Layout for Sources
A Web Application in Maven
  • A More Complex Project
  • Putting it Together With Maven
  • Packaging the Target Artifact
  • The Source Tree
  • Dependencies
  • Transitive Dependencies
  • Dependency Scope
  • Working With Servers
  • Declaring and Configuring Plugins
  • Running the Plugin
  • Binding a Plugin Goal to the Lifecycle
  • Archetypes
Commonly Used Plugins
  • Maven Plugins
  • Declaring and Configuring Plugins
  • Running the Plugin
  • Binding a Plugin Goal to the Lifecycle
  • Maven Surefire Test Plugin
  • Failsafe Plugin
  • Site Plugin
  • JavaDoc Plugin
  • PMD Plugin
  • Code Coverage – Cobertura
Multi-Module Builds
  • The Reactor
  • Reactor Sorting
  • Multi-Module Build by Example
Conclusion

Training Materials

All Apache Maven training students receive comprehensive courseware.

Software Requirements

  • JDK 8 or later
  • Any operating system that supports Java 1.8 or later
  • The Java tool the students are likely to use after the class (Eclipse or IntelliJ are recommended, but other tools are also supported)
  • The Maven version of your choice
  • Other free software - please contact us if you have purchased this class


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan