Getting Started with Apache Maven

Video description

Design and manage simple to complex Java projects effectively using Apache Maven's project object model

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

  • 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.

    Table of contents

    1. Chapter 1 : Introduction
      1. Introduction to Apache Maven 00:03:36
      2. Installing Apache Maven 00:03:31
      3. Understanding the Maven Repository 00:03:06
      4. Understanding the Maven Lifecycle 00:04:16
      5. Understanding the Role of Plugins 00:04:01
    2. Chapter 2 : Dependencies
      1. Introducing Maven Dependencies 00:02:32
      2. Controlling Maven Classpaths 00:03:06
      3. Maven and Transitive Dependencies 00:02:59
      4. Managing Dependencies that All Projects Need – Part 1 00:02:34
      5. Managing Dependencies that All Projects Need – Part 2 00:03:14
    3. Chapter 3 : Plugins
      1. Introducing Maven Plugins 00:03:25
      2. Adding Steps to a Maven Build 00:02:59
      3. Code Generation 00:02:52
      4. Managing Plugins with a Parent POM 00:03:28
      5. Finding Available Plugins 00:03:31
    4. Chpater 4 : Controlling the Build
      1. Maven Build Properties 00:03:41
      2. Maven Profiles 00:02:50
      3. Profile Activation via Properties 00:02:52
      4. Profile Activation via Environment 00:03:08
      5. User Settings, Profiles and Repositories 00:04:44
    5. Chapter 5 : The Project Website
      1. The Basic Website and Reports 00:04:13
      2. Using Report Plugins 00:03:47
      3. Creating Custom Pages 00:04:00
      4. FAQ (frequently asked question) Pages and Site Appearance 00:03:10
      5. Deploying to a Web Server 00:03:05
    6. Chapter 6 : The Maven Release Process
      1. Deploying to a Repository 00:03:01
      2. Using Snapshots 00:03:27
      3. Preparing for a Release 00:03:19
      4. Releasing Maven Artifacts 00:02:20
      5. Preparing for an Open Source Release 00:03:29
      6. Publishing to Maven Central 00:03:04
    7. Chapter 7 : Multi-module Projects
      1. Understanding the Multi-module Project 00:03:37
      2. Incremental Building with Multiple Modules 00:02:37
      3. Building a Website for a Multi-module project 00:03:49
      4. Releasing the Multi-module Project 00:02:39
    8. Chapter 8 : Maven Tricks and Patterns
      1. Invoking Ant from Maven 00:03:46
      2. Accessing Maven Artifacts from Ant 00:02:47
      3. Building a Simple Installer 00:05:20
      4. Running Functional Tests 00:03:16
      5. Disabling Default Plugin Bindings and Excluding Transitive Dependencies 00:04:38

    Product information

    • Title: Getting Started with Apache Maven
    • Author(s):
    • Release date: September 2013
    • Publisher(s): Packt Publishing
    • ISBN: 9781782165729