Maven Fundamentals

A course covering the fundamentals of using Maven for building Java applications.
Course info
Rating
(1673)
Level
Intermediate
Updated
Jun 28, 2019
Duration
2h 24m
Table of contents
Description
Course info
Rating
(1673)
Level
Intermediate
Updated
Jun 28, 2019
Duration
2h 24m
Description

This course covers all of the basic fundamentals of Maven. It covers dependencies, plugins, repositories, IDE integrations, and all the basic commands of Maven.

About the author
About the author

Bryan is a Director at Software Technology Group, a consulting company based out of Salt Lake City, and has authored and taught numerous courses in Java.

More from the author
What’s New in Spring 5
Intermediate
1h 25m
Jan 31, 2018
More courses by Bryan Hansen
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] Hi, everyone. My name is Brian Hansen and welcome to my course maven Fundamentals and the director of development at Software Technology Group and a longtime thoroughly site author. The original version of this course was the first course I ever produced for pleural site and is still one of my favorite topics to teach. It was time to update it, though, to use more recent versions of Maven and also to take advantage of newer versions of Java. In this course, we're going to learn about the changes introduced by utilizing more recent versions of Java. Some of the major topics that we will cover include maven installation, transitive dependencies, building using Java 11 or newer, using maven with existing code and other exciting changes that have occurred with more recent versions of Maybe by the end of this course, you'll know how to use maven in your day to day programming and what changes were needed to use it with newer versions of Java. Although not required, some experience with Java is helpful prior to learning maven. I hope you'll join me on this journey to learn about maven fundamentals

Structure
[Autogenerated] and this module we're going to cover the structure of maven by structure were referring to the folder and file structure, as well as location of files and ultimately, how code gets compiled and packaged all the various aspects regarding the structure inside of Maven. We're also going to discuss the palm file and where these elements get pulled from. Let's look a little deeper at our outline now going to look specifically at folder structure. We're also going to take a look at the Palm file basics like where our palm vial is located, as well as what some of the most common elements we use our inside of the Palm file. We're also going to look at some of the basic commands and goals as well, a cz how to add a dependency in what that looks like inside of our palm file. Then we're gonna take a look at where our local repositories is located and how these items are stored, as well as what the naming convention does to store those downloads into our local repositories. Let's start off by looking at the folder structure

Dependencies
[Autogenerated] in this module, we will cover all of the major aspects of dependencies and how they affect your application. We will cover versions, types, what transitive dependencies are and how they're useful to your application. This typically happens to be the number one reason why people start using maven. We will also cover scopes of dependencies and what it means to have a test scope versus provided run time and compile scopes.

Repositories
[Autogenerated] and this module we're going to cover repositories, repositories or short repos are what made in looks at to download code and other artifacts from so that we can use them inside of our application. We're going to look at the difference between a dependency repo on a plug in repo. We'll also see howto override those repose from their default location that will look at how you can tell maven where it should look for releases versus snapshots. Projects don't always release snapshots at the same place that they'll release their final artifacts at.

Plugins
[Autogenerated] in this module, we will cover plug ins, plug ins or what maven uses to build and package our application, as well as do anything outside of just downloading and storing artifacts for us. We're going to cover what goals are and goals tied two phases. So we'll also discuss phases in this module. They were going to go over the compiler plug in, and we'll look at it for a demo using the compiler plug in that will cover the jar plug in the sources PLUGIN and lastly, the Java doc plug in well, actually go through a demo for each one of these plug ins in our demo section for this module.

IDE Integration
[Autogenerated] in this module, we will cover Eclipse or rather, spring STS integration with maven. All modern ideas have maven integration and can be configured using maven. We're going to cover installing Spring STS, which is actually just a flavor of eclipse. With some plug ins and some nice things added into it. We're going to look at converting an existing project over the maven to use maven to configure the IittIe. We're going to look at importing projects that are also using maven. Then we will look at the various features, including the Palm viewer and the Dependency Overview tool. Next, we'll look at how we can add a dependency and R i D E. And it makes things a little bit easier, as well as the dependency hierarchy and how dependencies air resolved, including transitive dependencies. Lastly, we'll look at the effect of palm and what is your effective palm inside your application?