Video description
TagLine
About This Video
Explore the essentials of Apache Maven to arm yourself with all the ingredients needed to develop a comprehensive build automation system
Full of real-world scenarios covering multi-module builds and best practices to make the most out of Maven projects
Improve developer productivity by optimizing the build process with best practices in Maven using this concise and precise course
In Detail
The Maven Crash Course is designed to cut academic theory to just the key concepts and focus on basic Maven tasks to become productive quickly.We’ll begin by introducing Maven and walking through its installation, after which we’ll begin working on our first project. We’ll take a look at dependencies, repositories and plugins and we’ll learn how to improve our project by using JUnit for unit testing. Finally, we will start to use Maven within Eclipse, along with the M2Eclipse plugin. The quizzes at the end of each section reinforce key concepts by testing your knowledge acquired throughout the course.With this course, you’ll be comfortable in using Maven on both a Windows machine as well as a Mac and you will be able to build your Java project more efficiently while managing dependencies in Maven.
Table of Contents
Chapter 1 : Introduction
Course Introduction, Goals, Objectives, and Approach
00:03:38
What is Maven?
00:00:51
Why Start with the Command Line?
00:01:11
Chapter 2 : Core Concepts
Core Concepts Overview and Convention over Configuration
00:03:33
Dependency Resolution and the Maven Artifact Repository
00:03:04
Life Cycles, Phases and Goals, and Plugins
00:02:28
Chapter 3 : Installation
The Installation Approach
00:05:26
Maven Installation on Windows
00:05:22
Maven Installation on Mac OS X
00:08:19
Chapter 4 : Setup and Getting Help
Getting Help with Maven
00:01:53
Downloading Project files from GitHub
00:04:11
Chapter 5 : Getting Started - The Minimal Maven Project
Minimal Project Setup and First Run
00:06:47
Adding the Java Source to the Project
00:04:14
Goals, Phases, and Life Cycles in Action
00:02:18
Minimal Project Cleanup
00:02:49
Chapter 6 : Maven Basics - A Simple Maven Project
Downloading Helper Script
00:02:26
Standard Directory Template
00:02:42
Adding the Java Source
00:02:53
Project Metadata and Improving the Project POM
00:04:51
Build Settings - Changing the Final Name
00:01:10
Local Maven Repository
00:05:39
Basic Maven Cleanup
00:01:44
Chapter 7 : Beyond the Basics - Dependencies and Plugins
Project Words Setup
00:03:15
Maven Dependencies
00:05:58
Updating Git
00:01:08
Reviewing the Project Target Directory
00:01:15
Local Maven Repository
00:02:41
Dependency Graph (Dependency Plugin)
00:02:44
Updating the Project to Target Java 8 (Compiler Plugin)
00:03:44
Beyond the Basic Clean Up
00:01:06
Chapter 8 : Unit Testing
Adding the Unit Test Source for the Java Project
00:03:56
Unit Test Dependency, Test Scope, and Running Tests
00:05:04
Failing Unit Tests
00:02:07
Skipping Unit Tests via Command Line
00:02:39
Skipping Unit Tests via Configuration (POM)
00:03:01
Reporting Unit Test Results
00:05:00
Unit Testing Section Cleanup
00:01:02
Chapter 9 : Installing Eclipse and Configuration on Windows
Install Eclipse on Windows
00:03:14
Maven Configuration in Eclipse (on Windows)
00:01:35
Chapter 10 : Installing Eclipse and Configuration on Mac OS X
Tweak System Security (Install Anywhere)
00:01:21
Install Eclipse on Mac OS X
00:04:10
Maven Configuration for Eclipse (Mac OS X)
00:01:51
Chapter 11 : Using Maven with Eclipse
Create a New Maven Project in Eclipse
00:02:58
Adding a Java Source and Building within Eclipse
00:01:56
Importing an Existing Maven Project
00:02:52
Project Object Model within Eclipse
00:02:07
Chapter 12 : Bonus: Miscellaneous Maven Tricks
Jump-Start Your Project Using Maven Archetypes
00:05:23