Maven Crash Course [Video]

Maven Crash Course [Video]

This video is included in a Mapt subscription
Jason Taylor

Building Maven Projects for Java Developers
$10.00
RRP $79.99
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
Preview in Mapt

Video Details

ISBN 139781787124912
Course Length2 hours and 29 minutes

Video Description

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.

Style and Approach

Taking a practical approach, this course will give you all the information you need to get up and running with using Maven as your build tool in your projects. The author takes you through the course by providing explanations all throughout.

Table of Contents

Introduction
Course Introduction, Goals, Objectives, and Approach
What is Maven?
Why Start with the Command Line?
Core Concepts
Core Concepts Overview and Convention over Configuration
Dependency Resolution and the Maven Artifact Repository
Life Cycles, Phases and Goals, and Plugins
Installation
The Installation Approach
Maven Installation on Windows
Maven Installation on Mac OS X
Setup and Getting Help
Getting Help with Maven
Downloading Project files from GitHub
Getting Started - The Minimal Maven Project
Minimal Project Setup and First Run
Adding the Java Source to the Project
Goals, Phases, and Life Cycles in Action
Minimal Project Cleanup
Maven Basics - A Simple Maven Project
Downloading Helper Script
Standard Directory Template
Adding the Java Source
Project Metadata and Improving the Project POM
Build Settings - Changing the Final Name
Local Maven Repository
Basic Maven Cleanup
Beyond the Basics - Dependencies and Plugins
Project Words Setup
Maven Dependencies
Updating Git
Reviewing the Project Target Directory
Local Maven Repository
Dependency Graph (Dependency Plugin)
Updating the Project to Target Java 8 (Compiler Plugin)
Beyond the Basic Clean Up
Unit Testing
Adding the Unit Test Source for the Java Project
Unit Test Dependency, Test Scope, and Running Tests
Failing Unit Tests
Skipping Unit Tests via Command Line
Skipping Unit Tests via Configuration (POM)
Reporting Unit Test Results
Unit Testing Section Cleanup
Installing Eclipse and Configuration on Windows
Install Eclipse on Windows
Maven Configuration in Eclipse (on Windows)
Installing Eclipse and Configuration on Mac OS X
Tweak System Security (Install Anywhere)
Install Eclipse on Mac OS X
Maven Configuration for Eclipse (Mac OS X)
Using Maven with Eclipse
Create a New Maven Project in Eclipse
Adding a Java Source and Building within Eclipse
Importing an Existing Maven Project
Project Object Model within Eclipse
Bonus: Miscellaneous Maven Tricks
Jump-Start Your Project Using Maven Archetypes

What You Will Learn

  • Understand key Maven concepts~Install and configure Maven on Mac and Windows platforms
  • Build Java projects using Maven~Find and manage dependencies in Maven
  • Use Maven with Eclipse~Integrate Git source code control with Maven projects

Authors

Table of Contents

Introduction
Course Introduction, Goals, Objectives, and Approach
What is Maven?
Why Start with the Command Line?
Core Concepts
Core Concepts Overview and Convention over Configuration
Dependency Resolution and the Maven Artifact Repository
Life Cycles, Phases and Goals, and Plugins
Installation
The Installation Approach
Maven Installation on Windows
Maven Installation on Mac OS X
Setup and Getting Help
Getting Help with Maven
Downloading Project files from GitHub
Getting Started - The Minimal Maven Project
Minimal Project Setup and First Run
Adding the Java Source to the Project
Goals, Phases, and Life Cycles in Action
Minimal Project Cleanup
Maven Basics - A Simple Maven Project
Downloading Helper Script
Standard Directory Template
Adding the Java Source
Project Metadata and Improving the Project POM
Build Settings - Changing the Final Name
Local Maven Repository
Basic Maven Cleanup
Beyond the Basics - Dependencies and Plugins
Project Words Setup
Maven Dependencies
Updating Git
Reviewing the Project Target Directory
Local Maven Repository
Dependency Graph (Dependency Plugin)
Updating the Project to Target Java 8 (Compiler Plugin)
Beyond the Basic Clean Up
Unit Testing
Adding the Unit Test Source for the Java Project
Unit Test Dependency, Test Scope, and Running Tests
Failing Unit Tests
Skipping Unit Tests via Command Line
Skipping Unit Tests via Configuration (POM)
Reporting Unit Test Results
Unit Testing Section Cleanup
Installing Eclipse and Configuration on Windows
Install Eclipse on Windows
Maven Configuration in Eclipse (on Windows)
Installing Eclipse and Configuration on Mac OS X
Tweak System Security (Install Anywhere)
Install Eclipse on Mac OS X
Maven Configuration for Eclipse (Mac OS X)
Using Maven with Eclipse
Create a New Maven Project in Eclipse
Adding a Java Source and Building within Eclipse
Importing an Existing Maven Project
Project Object Model within Eclipse
Bonus: Miscellaneous Maven Tricks
Jump-Start Your Project Using Maven Archetypes

Video Details

ISBN 139781787124912
Course Length2 hours and 29 minutes
Read More

Read More Reviews

Recommended for You

JavaScript Crash Course [Video] Book Cover
JavaScript Crash Course [Video]
$ 49.99
$ 10.00
Quick Start Guide for Courses in Canvas [Video] Book Cover
Quick Start Guide for Courses in Canvas [Video]
$ 124.99
$ 10.00
The Ultimate Vue JS 2 Developers Course [Video] Book Cover
The Ultimate Vue JS 2 Developers Course [Video]
$ 124.99
$ 10.00
CompTIA A+ Certification 902. The Total Course [Video] Book Cover
CompTIA A+ Certification 902. The Total Course [Video]
$ 144.99
$ 10.01