Introduction to Apache Maven
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
-
Start date
Different dates available
This Apache Maven course starts by helping participants understand the tremendous benefits and return on investment from Apache Maven. After completing this course participants will understand how to download, install, set-up and confidently use core Maven features. The most popular version of the course is taught with Eclipse but it can be delivered with any Integrated Development Environment (IDE).
Facilities
Location
Start date
Start date
About this course
Download and install MavenBuild a projectWork with Maven’s directory structure, plugins, repositories, and moreUnderstand the Project Object Model (POM)Build a complete web application using MavenBuild and activate profilesUse Maven from Eclipse via the m2eclipse plugin
Developers
All attendees must have core Java® and Java web programming experience.
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 6 years
Subjects
- Apache
- Project
Course programme
#text-block-8 { margin-bottom:0px; text-align:left; }
#text-block-11 { margin-bottom:0px; text-align:left; }
Chapter 1. Introduction to Apache Maven
Build Tools for Java
Build Tools for Java (cont’d)
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?
What is Apache Maven (cont’d)
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!
Summary – Key Features of Maven
Chapter 2. Installing and Running Apache Maven
Downloading Maven
Installing Maven
Run From Command Line
Running Inside an IDE
Settings.xml
Local Repository
Summary
Chapter 3. 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
Example
Example (cont’d)
Artifact Coordinates
Standard Layout for Sources
Summary
Chapter 4. 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
Summary
Chapter 5. 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
Summary
#text-block-12 { margin-bottom:0px; text-align:left; }
Chapter 6. Multi-Module Builds
Introduction
The Reactor
Reactor Sorting
Multi-Module Build by Example
Summary
Chapter 7. POM Projects
Project Object Model (POM)
The overall POM structure
Storing POM
Summary
Chapter 8. Writing Plugins (Maven)
What is Maven Plugin
Example of Using a Plugin
Create a Custom Plugin
Create a Custom Plugin (cont.)
Plugin Management
Summary
Chapter 9. Creating Archetypes
Introduction to Maven Archetypes
Introduction to Maven Archetypes (cont.)
Using Interactive Mode to generate Goal
Common Maven Archetypes
Summary
Chapter 10. Repository Management
Introduction
Proxy Remote Repositories
Release Artifacts
Snapshot Artifacts
Reasons to Use a Repository Manager
Repository Coordinates
Addressing Resources in a Repository
Summary
Chapter 11. Release Management
What is release Management?
Release Management with Nexus
Release Management with Maven
Summary
Introduction to Apache Maven