Apache Maven
Overview
Apache Maven training course is designed to improve the command of the Maven build automation tool which is used for Java development projects.
This Maven course will train the participants as to how to set up the Maven environment, pull-in dependencies by specifying their coordinates, installing and deploying a plugin, generating reports on codes that will let developers know when they are running into problems and how to scale up from simple projects to multi-module projects.
3 Days
Pre-Requisites
- Basic Computer Skills
- Basic programming experience
Course Outline
- Apache Maven Introduction
- Goals of Maven
- Why Use Apache Maven?
- Setting up environment variables for Maven
- Run from Command Line
- Create Java Project from command Line
- Convert Maven Project to an Eclipse Project
- Add external dependency to Maven
- Setting up a Proxy
- Using Repositories
- Dependency Identification
- Transitive Dependencies
- Dependency Scope
- Manual Dependency Installation
- Basic Project Organization
- Understanding pom.xml
- Properties in pom.xml
- Excluding Dependencies
- Goals and Plug-ins
- Life Cycle and Phases
- Plugin Development
- Built in Archetypes
- Generating Web Project
- Multi module Project
- Creating an Archetype
- Using the Archetype
- Generating an executable JAR
- Generating a JAR of the source code
- Generating a JAR of the test-classes
- Building a WAR project
- Building a pom project
- Maven Sonar plugin
- Maven Enforcer plugin
- Other Plugins
- Using the Site Life Cycle
- Advanced Site Configuration
