Free Sample
+ Collection

Getting Started with Apache Maven [Video]

Russell Gold

Design and manage simple to complex Java projects effectively using Apache Maven’s project object model
RRP $84.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Video Details

ISBN 139781782165729
Course Length2 hour and 15 minutes

About This Video

  • Covers everything from basic dependencies to complex multi-module projects
  • Demonstrates the key concept of project building logically
  • Loaded with examples, motivated by typical build challenges

Who This Video Is For

"Getting Started with Apache Maven" is intended for Java developers. Knowledge of ANT and Maven would be helpful, but is not essential.

Table of Contents

Introduction to Apache Maven
Installing Apache Maven
Understanding the Maven Repository
Understanding the Maven Lifecycle
Understanding the Role of Plugins
Introducing Maven Dependencies
Controlling Maven Classpaths
Maven and Transitive Dependencies
Managing Dependencies that All Projects Need – Part 1
Managing Dependencies that All Projects Need – Part 2
Introducing Maven Plugins
Adding Steps to a Maven Build
Code Generation
Managing Plugins with a Parent POM
Finding Available Plugins
Controlling the Build
Maven Build Properties
Maven Profiles
Profile Activation via Properties
Profile Activation via Environment
User Settings, Profiles and Repositories
The Project Website
The Basic Website and Reports
Using Report Plugins
Creating Custom Pages
FAQ (frequently asked question) Pages and Site Appearance
Deploying to a Web Server
The Maven Release Process
Deploying to a Repository
Using Snapshots
Preparing for a Release
Releasing Maven Artifacts
Preparing for an Open Source Release
Publishing to Maven Central
Multi-module Projects
Understanding the Multi-module Project
Incremental Building with Multiple Modules
Building a Website for a Multi-module project
Releasing the Multi-module Project
Maven Tricks and Patterns
Invoking Ant from Maven
Accessing Maven Artifacts from Ant
Building a Simple Installer
Running Functional Tests
Disabling Default Plugin Bindings and Excluding Transitive Dependencies

What You Will Learn

  • Govern the Maven repository, and the idea of collaborative development
  • Discover how to specify dependencies and get transitive dependencies
  • Add and customize the standard build steps
  • Explore the use of parent projects and management sections
  • Find out how Maven simplifies the creation of project websites
  • Get to grips with simple ways to enable reports such as test coverage and standards compliance
  • Release a Maven project to an internal or external repository
  • Create and manage a multi-module project

In Detail

Building projects rapidly and incrementally is a critical part of a developer’s job. "Getting Started with Apache Maven" will show you how to take advantage of the common elements of project building and implement effective methods to solve frequently encountered problems, as well as facilitating collaborative development among projects.

"Getting Started with Apache Maven" will introduce you to the world of synergized development in the Maven ecosystem. The course logically explains the various concepts of the tool, and shows how to proceed from simple assignments to complex ones.

Maven is not simply a tool to invoke compilers and utilities, but it is also an approach to easily constructing your project by accessing its ever-expanding world of tools and libraries.

You will learn how to pull in dependencies simply by specifying their coordinates, how to customize your lifecycle with plugins, and see how easy it can be to create a project website. You will see how to generate reports on your code that will enable understanding and will let you know when your developers are running into problems. You will understand how to scale up from simple projects to multi-module ones.

This video course walks you through the steps by presenting examples, starting with very basic ones, and growing to more elaborate ones once you have mastered the basics.



Read More